Files
integreat/docker-compose.staging.yml
2019-01-26 09:02:28 -08:00

36 lines
1.2 KiB
YAML

version: '3'
services:
nginx-proxy:
restart: "always"
ports:
- "80:80"
- "443:443"
labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true
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:
ports:
- "9000:9000"
restart: always
environment:
config: /usr/local/config/staging.edn
VIRTUAL_HOST: staging2.app.integreatconsult.com
VIRTUAL_PORT: 3000
LETSENCRYPT_HOST: staging2.app.integreatconsult.com
LETSENCRYPT_EMAIL: le@brycecovertoperations.com
database:
restart: always
volumes:
- /opt/integreat/staging/var/lib/postgresql/data:/var/lib/postgresql/data