microblog.pub/docker-compose.yml

28 lines
859 B
YAML
Raw Normal View History

2018-05-27 20:47:33 +00:00
version: '2'
2018-05-18 18:41:41 +00:00
services:
web:
2018-06-01 18:29:44 +00:00
image: 'microblogpub:latest'
2018-05-18 18:41:41 +00:00
ports:
- "127.0.0.1:${WEB_PORT}:5005"
2018-05-18 18:41:41 +00:00
volumes:
- "${CONFIG_DIR}:/app/config"
2018-05-18 18:41:41 +00:00
- "./static:/app/static"
environment:
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
2019-04-12 19:10:10 +00:00
- MICROBLOGPUB_INTERNAL_HOST=http://${COMPOSE_PROJECT_NAME}_web_1:5005
- MICROBLOGPUB_POUSSETACHES_HOST=http://${COMPOSE_PROJECT_NAME}_poussetaches_1:7991
2019-04-05 19:36:56 +00:00
- POUSSETACHES_AUTH_KEY=${POUSSETACHES_AUTH_KEY}
2019-04-05 20:41:25 +00:00
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}
2018-05-18 18:41:41 +00:00
mongo:
2019-08-14 22:28:55 +00:00
image: "mongo:3"
2018-05-18 18:41:41 +00:00
volumes:
2018-05-21 11:00:17 +00:00
- "${DATA_DIR}/mongodb:/data/db"
2019-04-05 09:35:48 +00:00
poussetaches:
2019-08-01 17:55:30 +00:00
image: "poussetaches/poussetaches:latest"
2019-04-05 19:36:56 +00:00
volumes:
2019-04-05 20:11:32 +00:00
- "${DATA_DIR}/poussetaches:/app/poussetaches_data"
2019-04-05 09:35:48 +00:00
environment:
2019-04-05 19:36:56 +00:00
- POUSSETACHES_AUTH_KEY=${POUSSETACHES_AUTH_KEY}
# ports:
# - "127.0.0.1:${POUSSETACHES_PORT}:7991"