~tsileo/microblog.pub

microblog.pub/docker-compose.yml -rw-r--r-- 859 bytes View raw
9c12a673Thomas Sileo Tweak CSS for DMs admin section 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: '2'
services:
  web:
    image: 'microblogpub:latest'
    ports:
     - "127.0.0.1:${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}
#    ports:
# - "127.0.0.1:${POUSSETACHES_PORT}:7991"