mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 18:17:20 +08:00
36 lines
774 B
YAML
36 lines
774 B
YAML
version: '2'
|
|
services:
|
|
postgresql:
|
|
image: 'bitnami/postgresql:latest'
|
|
volumes:
|
|
- 'postgresql_data:/bitnami/postgresql'
|
|
redis:
|
|
image: 'bitnami/redis:latest'
|
|
volumes:
|
|
- 'redis_data:/bitnami/redis'
|
|
discourse:
|
|
image: 'bitnami/discourse:latest'
|
|
ports:
|
|
- '80:3000'
|
|
depends_on:
|
|
- postgresql
|
|
- redis
|
|
volumes:
|
|
- 'discourse_data:/bitnami/discourse'
|
|
discourse-sidekiq:
|
|
image: 'bitnami/discourse:latest'
|
|
depends_on:
|
|
- discourse
|
|
volumes:
|
|
- 'sidekiq_data:/bitnami/discourse-sidekiq'
|
|
command: 'nami start --foreground discourse-sidekiq'
|
|
volumes:
|
|
postgresql_data:
|
|
driver: local
|
|
redis_data:
|
|
driver: local
|
|
discourse_data:
|
|
driver: local
|
|
sidekiq_data:
|
|
driver: local
|