docker-compose

This commit is contained in:
Fergal Moran
2016-02-02 20:15:14 +00:00
parent 645a211b52
commit 918191825d

View File

@@ -25,17 +25,17 @@ data:
- /var/lib/postgresql - /var/lib/postgresql
command: /bin/true command: /bin/true
celery: icecast:
image: fergalmoran/dss.api build: ./icecast/
env_file: volumes:
- ./api_env - ./logs:/var/log/icecast2
volumes_from: - /etc/localtime:/etc/localtime:ro
- api environment:
links: - ICECAST_SOURCE_PASSWORD=RDzNlgqmj67vk
- "postgres:postgres" - ICECAST_ADMIN_PASSWORD=CrVuP5evoJZ0
- "redis:redis" - ICECAST_RELAY_PASSWORD=9PmUbI1mLne9o
- "rabbitmq:rabbitmq" ports:
command: ./run_celery.sh - 8000:8000
api: api:
image: fergalmoran/dss.api image: fergalmoran/dss.api
@@ -52,6 +52,18 @@ api:
- "rabbitmq:rabbitmq" - "rabbitmq:rabbitmq"
command: ./run_web.sh command: ./run_web.sh
celery:
image: fergalmoran/dss.api
env_file:
- ./api_env
volumes_from:
- api
links:
- "postgres:postgres"
- "redis:redis"
- "rabbitmq:rabbitmq"
command: ./run_celery.sh
web: web:
image: fergalmoran/dss.web image: fergalmoran/dss.web
env_file: env_file:
@@ -61,17 +73,7 @@ web:
- "redis:redis" - "redis:redis"
ports: ports:
- "8080:8080" - "8080:8080"
icecast:
build: ./icecast/
volumes:
- ./logs:/var/log/icecast2
- /etc/localtime:/etc/localtime:ro
environment:
- ICECAST_SOURCE_PASSWORD=RDzNlgqmj67vk
- ICECAST_ADMIN_PASSWORD=CrVuP5evoJZ0
- ICECAST_RELAY_PASSWORD=9PmUbI1mLne9o
ports:
- 8000:8000
radio: radio:
image: fergalmoran/dss.radio image: fergalmoran/dss.radio
env_file: env_file: