multiple environments.
This commit is contained in:
30
docker-compose.staging.yml
Normal file
30
docker-compose.staging.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
version: '3'
|
||||
services:
|
||||
nginx-proxy:
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:80"
|
||||
- "8443:443"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- /opt/integreat/staging/certs/:/etc/nginx/certs:ro
|
||||
- /opt/integreat/staging/etc/nginx/vhost.d:/etc/nginx/vhost.d
|
||||
- /opt/integreat/staging/usr/share/nginx/html:/usr/share/nginx/html
|
||||
letsencrypt:
|
||||
restart: always
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /opt/integreat/staging/certs/:/etc/nginx/certs
|
||||
- /opt/integreat/staging/etc/nginx/vhost.d:/etc/nginx/vhost.d
|
||||
- /opt/integreat/staging/usr/share/nginx/html:/usr/share/nginx/html
|
||||
app:
|
||||
restart: always
|
||||
environment:
|
||||
config: /usr/local/config/staging.edn
|
||||
VIRTUAL_HOST: staging.integreat.aws.brycecovertoperations.com
|
||||
LETSENCRYPT_HOST: staging.integreat.aws.brycecovertoperations.com
|
||||
LETSENCRYPT_EMAIL: le@brycecovertoperations.com
|
||||
database:
|
||||
restart: always
|
||||
volumes:
|
||||
- /opt/integreat/staging/var/lib/postgresql/data:/var/lib/postgresql/data
|
||||
Reference in New Issue
Block a user