2017-04-20 02:47:48 +03:00
|
|
|
version: "3"
|
2016-11-09 23:06:28 +03:00
|
|
|
|
2017-04-20 02:47:48 +03:00
|
|
|
services:
|
2023-03-09 00:36:51 +03:00
|
|
|
experimenter:
|
|
|
|
image: experimenter:dev
|
2017-04-20 02:47:48 +03:00
|
|
|
env_file: .env
|
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
links:
|
|
|
|
- db
|
2018-12-13 23:22:45 +03:00
|
|
|
- redis
|
2020-06-15 23:28:20 +03:00
|
|
|
- kinto
|
2020-09-12 00:12:46 +03:00
|
|
|
ports:
|
|
|
|
- "7001:7001"
|
2017-04-20 02:47:48 +03:00
|
|
|
volumes:
|
2023-03-09 00:36:51 +03:00
|
|
|
- ./experimenter:/experimenter
|
|
|
|
- media_volume:/experimenter/experimenter/media
|
|
|
|
- /experimenter/experimenter/legacy/legacy-ui/core/.cache/
|
|
|
|
- /experimenter/experimenter/legacy/legacy-ui/core/node_modules/
|
|
|
|
- /experimenter/experimenter/nimbus-ui/node_modules/
|
|
|
|
- /experimenter/experimenter/served/
|
|
|
|
- /experimenter/node_modules/
|
2022-05-04 22:07:26 +03:00
|
|
|
- ${GOOGLE_ADC_FILE}:${GOOGLE_APPLICATION_CREDENTIALS}:ro
|
2023-03-09 00:36:51 +03:00
|
|
|
command: bash -c "python bin/setup_kinto.py;/experimenter/bin/wait-for-it.sh db:5432 -- python /experimenter/manage.py runserver 0:7001"
|
2018-12-13 23:22:45 +03:00
|
|
|
|
2020-10-01 02:09:21 +03:00
|
|
|
yarn-nimbus-ui:
|
2023-03-09 00:36:51 +03:00
|
|
|
image: experimenter:dev
|
2020-10-01 02:09:21 +03:00
|
|
|
env_file: .env
|
|
|
|
tty: true
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
volumes:
|
2023-03-09 00:36:51 +03:00
|
|
|
- ./experimenter:/experimenter
|
|
|
|
- media_volume:/experimenter/experimenter/media
|
|
|
|
- /experimenter/experimenter/legacy/legacy-ui/core/.cache/
|
|
|
|
- /experimenter/experimenter/legacy/legacy-ui/core/node_modules/
|
|
|
|
- /experimenter/experimenter/nimbus-ui/node_modules/
|
|
|
|
- /experimenter/experimenter/served/
|
|
|
|
- /experimenter/node_modules/
|
2022-05-04 22:07:26 +03:00
|
|
|
- ${GOOGLE_ADC_FILE}:${GOOGLE_APPLICATION_CREDENTIALS}:ro
|
2020-10-01 02:09:21 +03:00
|
|
|
command: bash -c "FORCE_COLOR=true yarn workspace @experimenter/nimbus-ui start | cat"
|
|
|
|
|
2018-12-13 23:22:45 +03:00
|
|
|
worker:
|
2023-03-09 00:36:51 +03:00
|
|
|
image: experimenter:dev
|
2018-12-13 23:22:45 +03:00
|
|
|
env_file: .env
|
|
|
|
links:
|
|
|
|
- db
|
|
|
|
- redis
|
|
|
|
volumes:
|
2023-03-09 00:36:51 +03:00
|
|
|
- ./experimenter:/experimenter
|
2022-05-04 22:07:26 +03:00
|
|
|
- ${GOOGLE_ADC_FILE}:${GOOGLE_APPLICATION_CREDENTIALS}:ro
|
2023-03-09 00:36:51 +03:00
|
|
|
command: bash -c "/experimenter/bin/wait-for-it.sh db:5432 -- celery -A experimenter worker -l DEBUG"
|
2019-09-11 17:28:22 +03:00
|
|
|
|
2019-06-07 02:38:15 +03:00
|
|
|
beat:
|
2023-03-09 00:36:51 +03:00
|
|
|
image: experimenter:dev
|
2019-06-07 02:38:15 +03:00
|
|
|
env_file: .env
|
|
|
|
links:
|
|
|
|
- db
|
|
|
|
- redis
|
|
|
|
volumes:
|
2023-03-09 00:36:51 +03:00
|
|
|
- ./experimenter:/experimenter
|
2022-05-04 22:07:26 +03:00
|
|
|
- ${GOOGLE_ADC_FILE}:${GOOGLE_APPLICATION_CREDENTIALS}:ro
|
2023-03-09 00:36:51 +03:00
|
|
|
command: bash -c "/experimenter/bin/wait-for-it.sh db:5432 -- celery -A experimenter beat --pidfile /celerybeat.pid -s /celerybeat-schedule -l DEBUG"
|
2016-11-09 23:06:28 +03:00
|
|
|
|
2017-04-20 02:47:48 +03:00
|
|
|
nginx:
|
|
|
|
build: ./nginx
|
2017-06-13 22:08:50 +03:00
|
|
|
env_file: .env
|
2017-04-20 02:47:48 +03:00
|
|
|
links:
|
2023-03-09 00:36:51 +03:00
|
|
|
- experimenter
|
2017-04-20 02:47:48 +03:00
|
|
|
ports:
|
2017-08-24 20:14:37 +03:00
|
|
|
- "443:443"
|
2016-11-09 23:06:28 +03:00
|
|
|
|
2017-04-20 02:47:48 +03:00
|
|
|
db:
|
|
|
|
restart: always
|
2020-02-19 21:30:44 +03:00
|
|
|
image: postgres:9.6.17
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: postgres
|
2020-09-12 00:12:46 +03:00
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
2017-04-20 02:47:48 +03:00
|
|
|
volumes:
|
|
|
|
- db_volume:/var/lib/postgresql
|
|
|
|
|
2018-12-13 23:22:45 +03:00
|
|
|
redis:
|
2021-10-12 20:14:01 +03:00
|
|
|
image: redis:6.2.6
|
2020-09-12 00:12:46 +03:00
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
2018-12-13 23:22:45 +03:00
|
|
|
|
2020-06-15 23:28:20 +03:00
|
|
|
kinto:
|
2023-02-07 23:05:12 +03:00
|
|
|
image: mozilla/remote-settings:30.1.1
|
2020-06-15 23:28:20 +03:00
|
|
|
environment:
|
|
|
|
KINTO_INI: /etc/kinto.ini
|
|
|
|
ports:
|
|
|
|
- "8888:8888"
|
|
|
|
links:
|
|
|
|
- autograph
|
|
|
|
volumes:
|
|
|
|
- ./kinto/server.ini:/etc/kinto.ini
|
|
|
|
|
|
|
|
autograph:
|
2021-10-12 20:14:01 +03:00
|
|
|
image: mozilla/autograph:4.1.1
|
2020-06-15 23:28:20 +03:00
|
|
|
ports:
|
|
|
|
- "8000:8000"
|
|
|
|
|
2023-03-06 21:45:53 +03:00
|
|
|
cirrus:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: cirrus/server/Dockerfile
|
|
|
|
volumes:
|
|
|
|
- .:/cirrus/server
|
|
|
|
ports:
|
|
|
|
- "8001:8001"
|
|
|
|
command: uvicorn cirrus.server.cirrus.main:app --reload --host 0.0.0.0 --port 8001
|
|
|
|
|
2017-04-20 02:47:48 +03:00
|
|
|
volumes:
|
|
|
|
db_volume:
|
2021-10-13 03:06:06 +03:00
|
|
|
media_volume:
|