Fixed compose

This commit is contained in:
Dan Elbert 2020-04-12 13:21:25 -05:00
parent 5a5db7d299
commit 9cc3150241

View File

@ -13,12 +13,16 @@ services:
- RAILS_USE_MEMCACHE=true
- PASSENGER_APP_ENV=production
- RAILS_ENV=production
env_file: /etc/default/parsley
volumes:
- /var/log/parsley/:/home/app/parsley/log
- SECRET_KEY_BASE=${SECRET_KEY_BASE)
- PARSLEY_DB_HOST=${PARSLEY_DB_HOST}
- PARSLEY_DB_USER=${PARSLEY_DB_USER}
- PARSLEY_DB_PASSWORD=${PARSLEY_DB_PASSWORD}
- PARSLEY_DB_NAME=${PARSLEY_DB_NAME}
- PARSLEY_PG_PASSWORD=${PARSLEY_PG_PASSWORD}
networks:
- default
- traefik
- db
labels:
traefik.enable: "true"
traefik.http.routers.parsley.rule: "Host(`parsley.elbert.us`)"
@ -29,3 +33,5 @@ services:
networks:
traefik:
external: true
db:
external: true