31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
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.app.integreatconsult.com
|
|
LETSENCRYPT_HOST: staging.app.integreatconsult.com,app.integreatconsult.com
|
|
LETSENCRYPT_EMAIL: le@brycecovertoperations.com
|
|
database:
|
|
restart: always
|
|
volumes:
|
|
- /opt/integreat/staging/var/lib/postgresql/data:/var/lib/postgresql/data
|