parsley/docker-compose-azathoth.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2018-06-09 13:42:38 -05:00
version: '3'
services:
2018-06-09 13:42:38 -05:00
memcache:
image: memcached:1.5.4-alpine
2018-07-22 14:51:02 -05:00
restart: unless-stopped
2018-06-09 13:42:38 -05:00
command: memcached -m 512
web:
2018-07-22 16:15:53 -05:00
image: registry.elbert.us/parsley:production
2020-05-02 14:12:04 -05:00
command: web
restart: unless-stopped
networks:
- default
- traefik
labels:
traefik.enable: "true"
traefik.http.routers.parsley.rule: "Host(`parsley.elbert.us`)"
traefik.http.routers.parsley.entrypoints: websecure
traefik.http.routers.parsley.tls: "true"
traefik.http.routers.parsley.tls.certResolver: cert-resolver
app:
image: registry.elbert.us/parsley:production
command: app
2018-07-22 14:51:02 -05:00
restart: unless-stopped
environment:
2020-05-02 14:12:04 -05:00
- PORT=80
2018-06-09 13:42:38 -05:00
- RAILS_USE_MEMCACHE=true
2020-05-02 14:12:04 -05:00
- RAILS_LOG_TO_STDOUT=true
2018-09-22 01:56:39 -05:00
- RAILS_ENV=production
2020-04-12 13:23:22 -05:00
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
2020-04-12 13:21:25 -05:00
- 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}
2018-07-10 10:31:43 -05:00
networks:
- default
2020-04-12 13:21:25 -05:00
- db
2018-07-10 10:31:43 -05:00
networks:
traefik:
external: true
2020-04-12 13:21:25 -05:00
db:
external: true