Files
integreat/docker-compose.prod.yml
2018-04-04 07:13:35 -07:00

27 lines
949 B
YAML

version: '3'
services:
nginx-proxy:
restart: always
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
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
app:
restart: always
environment:
config: /usr/local/config/prod.edn
VIRTUAL_HOST: integreat.aws.brycecovertoperations.com
LETSENCRYPT_HOST: integreat.aws.brycecovertoperations.com
LETSENCRYPT_EMAIL: le@brycecovertoperations.com
database:
restart: always
volumes:
- /opt/integreat/var/lib/postgresql/data:/var/lib/postgresql/data