multiple environments.
This commit is contained in:
@@ -2,18 +2,21 @@ version: '3'
|
||||
services:
|
||||
nginx-proxy:
|
||||
restart: always
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- /opt/integreat/certs/:/etc/nginx/certs:ro
|
||||
- /opt/integreat/etc/nginx/vhost.d:/etc/nginx/vhost.d
|
||||
- /opt/integreat/usr/share/nginx/html:/usr/share/nginx/html
|
||||
- /opt/integreat/prod/certs/:/etc/nginx/certs:ro
|
||||
- /opt/integreat/prod/etc/nginx/vhost.d:/etc/nginx/vhost.d
|
||||
- /opt/integreat/prod/usr/share/nginx/html:/usr/share/nginx/html
|
||||
letsencrypt:
|
||||
restart: always
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /opt/integreat/certs/:/etc/nginx/certs
|
||||
- /opt/integreat/etc/nginx/vhost.d:/etc/nginx/vhost.d
|
||||
- /opt/integreat/usr/share/nginx/html:/usr/share/nginx/html
|
||||
- /opt/integreat/prod/certs/:/etc/nginx/certs
|
||||
- /opt/integreat/prod/etc/nginx/vhost.d:/etc/nginx/vhost.d
|
||||
- /opt/integreat/prod/usr/share/nginx/html:/usr/share/nginx/html
|
||||
app:
|
||||
restart: always
|
||||
environment:
|
||||
@@ -24,4 +27,4 @@ services:
|
||||
database:
|
||||
restart: always
|
||||
volumes:
|
||||
- /opt/integreat/var/lib/postgresql/data:/var/lib/postgresql/data
|
||||
- /opt/integreat/prod/var/lib/postgresql/data:/var/lib/postgresql/data
|
||||
|
||||
Reference in New Issue
Block a user