Newer
Older
web:
image: nginx
links:
- app
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
app:
image: indiehosters/discourse
volumes:
- ./data/assets:/usr/src/app/public/assets
- ./data/uploads:/usr/src/app/public/uploads
- ./data/backups:/usr/src/app/public/backups
links:
- postgres
- redis
env_file:
sidekiq:
image: indiehosters/discourse
command: sidekiq -c 3 -v
links:
- postgres
- redis
env_file:
volumes_from:
- app
postgres:
image: postgres:9.4
environment:
- POSTGRES_USER=discourse
env_file:
volumes:
- ./data/postgres:/var/lib/postgresql/data
redis:
image: redis:2.6