2021-09-17 22:39:27 -04:00
|
|
|
version: "3.6"
|
|
|
|
|
|
|
|
x-common: &common
|
|
|
|
volumes:
|
2023-12-03 23:29:11 -05:00
|
|
|
- ./.drone:/app/.drone:ro
|
|
|
|
- ./docker-entrypoint.sh:/app/docker-entrypoint.sh:ro
|
2024-02-01 23:57:53 -05:00
|
|
|
- ceo-venv:/app/venv:ro
|
2023-12-03 23:29:11 -05:00
|
|
|
- ./ceo:/app/ceo:ro
|
|
|
|
- ./ceo_common:/app/ceo_common:ro
|
|
|
|
- ./ceod:/app/ceod:ro
|
|
|
|
- ./tests:/app/tests:ro
|
2024-02-01 23:57:53 -05:00
|
|
|
# for flake8
|
|
|
|
- ./setup.cfg:/app/setup.cfg:ro
|
2024-03-23 19:26:30 -04:00
|
|
|
- ./web:/app/web:z
|
2023-01-23 02:26:13 -05:00
|
|
|
security_opt:
|
|
|
|
- label:disable
|
2023-12-03 23:29:11 -05:00
|
|
|
working_dir: /app
|
|
|
|
entrypoint:
|
|
|
|
- ./docker-entrypoint.sh
|
|
|
|
|
|
|
|
x-ceod-common: &ceod-common
|
|
|
|
<<: *common
|
2024-02-01 23:57:53 -05:00
|
|
|
image: ceo-generic:bullseye
|
2021-09-17 22:39:27 -04:00
|
|
|
environment:
|
|
|
|
FLASK_APP: ceod.api
|
2023-07-31 19:27:45 -04:00
|
|
|
FLASK_DEBUG: "true"
|
2021-09-17 22:39:27 -04:00
|
|
|
|
|
|
|
services:
|
|
|
|
auth1:
|
|
|
|
<<: *common
|
2023-12-03 23:29:11 -05:00
|
|
|
image: ceo-auth1:bullseye
|
2021-09-17 22:39:27 -04:00
|
|
|
hostname: auth1
|
|
|
|
command: auth1
|
|
|
|
|
|
|
|
coffee:
|
2023-12-03 23:29:11 -05:00
|
|
|
<<: *ceod-common
|
|
|
|
image: ceo-coffee:bullseye
|
2021-09-17 22:39:27 -04:00
|
|
|
command: coffee
|
|
|
|
hostname: coffee
|
|
|
|
depends_on:
|
|
|
|
- auth1
|
|
|
|
|
|
|
|
mail:
|
2023-12-03 23:29:11 -05:00
|
|
|
<<: *ceod-common
|
2021-09-17 22:39:27 -04:00
|
|
|
command: mail
|
|
|
|
hostname: mail
|
|
|
|
depends_on:
|
|
|
|
- auth1
|
|
|
|
|
|
|
|
phosphoric-acid:
|
2023-12-03 23:29:11 -05:00
|
|
|
<<: *ceod-common
|
2021-09-17 22:39:27 -04:00
|
|
|
command: phosphoric-acid
|
|
|
|
hostname: phosphoric-acid
|
|
|
|
depends_on:
|
|
|
|
- auth1
|
|
|
|
- coffee
|
|
|
|
- mail
|
|
|
|
|
2023-12-03 23:29:11 -05:00
|
|
|
volumes:
|
|
|
|
ceo-venv:
|
|
|
|
external: true
|
|
|
|
|
2021-09-17 22:39:27 -04:00
|
|
|
# vim: expandtab sw=2 ts=2
|