63 lines
1.1 KiB
YAML
63 lines
1.1 KiB
YAML
version: "3.6"
|
|
|
|
x-common: &common
|
|
volumes:
|
|
- ./.drone:/app/.drone:ro
|
|
- ./docker-entrypoint.sh:/app/docker-entrypoint.sh:ro
|
|
- ceo-venv:/app/venv:ro
|
|
- ./ceo:/app/ceo:ro
|
|
- ./ceo_common:/app/ceo_common:ro
|
|
- ./ceod:/app/ceod:ro
|
|
- ./tests:/app/tests:ro
|
|
# for flake8
|
|
- ./setup.cfg:/app/setup.cfg:ro
|
|
security_opt:
|
|
- label:disable
|
|
working_dir: /app
|
|
entrypoint:
|
|
- ./docker-entrypoint.sh
|
|
|
|
x-ceod-common: &ceod-common
|
|
<<: *common
|
|
image: ceo-generic:bullseye
|
|
environment:
|
|
FLASK_APP: ceod.api
|
|
FLASK_DEBUG: "true"
|
|
|
|
services:
|
|
auth1:
|
|
<<: *common
|
|
image: ceo-auth1:bullseye
|
|
hostname: auth1
|
|
command: auth1
|
|
|
|
coffee:
|
|
<<: *ceod-common
|
|
image: ceo-coffee:bullseye
|
|
command: coffee
|
|
hostname: coffee
|
|
depends_on:
|
|
- auth1
|
|
|
|
mail:
|
|
<<: *ceod-common
|
|
command: mail
|
|
hostname: mail
|
|
depends_on:
|
|
- auth1
|
|
|
|
phosphoric-acid:
|
|
<<: *ceod-common
|
|
command: phosphoric-acid
|
|
hostname: phosphoric-acid
|
|
depends_on:
|
|
- auth1
|
|
- coffee
|
|
- mail
|
|
|
|
volumes:
|
|
ceo-venv:
|
|
external: true
|
|
|
|
# vim: expandtab sw=2 ts=2
|