Revision e70c5c818c780e5027fbd02f823e0a99e89b395f authored by Clément Lelong on 07 April 2021, 18:57:21 UTC, committed by GitHub on 07 April 2021, 18:57:21 UTC
1 parent 300d124
docker-compose.yml
version: '3'
services:
mongo:
image: mongo
restart: always
ports:
- '27017:27017'
volumes:
- './db:/data/db'
openfisca:
build:
dockerfile: './docker/openfisca/Dockerfile'
context: '.'
environment:
OPENFISCA_BIND_HOST: 0.0.0.0:2000
node:
build:
dockerfile: './docker/node/Dockerfile'
context: '.'
environment:
MONGODB_URL: mongodb://mongo:27017/dds
OPENFISCA_URL: http://openfisca:2000
PUPPETEER_ARGS: '{"executablePath":"/usr/bin/chromium-browser","args":["--no-sandbox","--disable-setuid-sandbox","--disable-dev-shm-usage"]}'
MAILJET_PUBLIC_KEY: ${MAILJET_PUBLIC_KEY}
MAILJET_PRIVATE_KEY: ${MAILJET_PRIVATE_KEY}
ports:
- '35729:35729'
- '9001:9001'
depends_on:
- mongo
- openfisca
links:
- mongo
- openfisca
volumes:
- 'node_modules:/srv/app/node_modules'
- './:/srv/app'
nginx:
image: 'nginx:1.14-alpine'
depends_on:
- node
links:
- node
ports:
- '2000:2000'
- '8080:8080'
volumes:
- './docker/nginx/conf.d:/etc/nginx/conf.d:ro'
- './docker/nginx/snippets:/etc/nginx/snippets:ro'
- './:/home/main/mes-aides-ui:ro'
volumes:
node_modules:
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...