mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
25 lines
795 B
YAML
25 lines
795 B
YAML
version: '2'
|
|
services:
|
|
web:
|
|
image: 'microblogpub:latest'
|
|
ports:
|
|
- "${WEB_PORT}:5005"
|
|
volumes:
|
|
- "${CONFIG_DIR}:/app/config"
|
|
- "./static:/app/static"
|
|
environment:
|
|
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
|
|
- MICROBLOGPUB_INTERNAL_HOST=http://${COMPOSE_PROJECT_NAME}_web_1:5005
|
|
- MICROBLOGPUB_POUSSETACHES_HOST=http://${COMPOSE_PROJECT_NAME}_poussetaches_1:7991
|
|
- POUSSETACHES_AUTH_KEY=${POUSSETACHES_AUTH_KEY}
|
|
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}
|
|
mongo:
|
|
image: "mongo:3"
|
|
volumes:
|
|
- "${DATA_DIR}/mongodb:/data/db"
|
|
poussetaches:
|
|
image: "poussetaches/poussetaches:latest"
|
|
volumes:
|
|
- "${DATA_DIR}/poussetaches:/app/poussetaches_data"
|
|
environment:
|
|
- POUSSETACHES_AUTH_KEY=${POUSSETACHES_AUTH_KEY}
|