You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
685 B
45 lines
685 B
2 years ago
|
version: "3.6"
|
||
|
|
||
|
x-common: &common
|
||
|
image: python:3.7-buster
|
||
|
volumes:
|
||
|
- .:$PWD
|
||
|
environment:
|
||
|
FLASK_APP: ceod.api
|
||
|
FLASK_ENV: development
|
||
|
working_dir: $PWD
|
||
|
entrypoint:
|
||
|
- ./docker-entrypoint.sh
|
||
|
|
||
|
services:
|
||
|
auth1:
|
||
|
<<: *common
|
||
|
image: debian:buster
|
||
|
hostname: auth1
|
||
|
command: auth1
|
||
|
|
||
|
coffee:
|
||
|
<<: *common
|
||
|
command: coffee
|
||
|
hostname: coffee
|
||
|
depends_on:
|
||
|
- auth1
|
||
|
|
||
|
mail:
|
||
|
<<: *common
|
||
|
command: mail
|
||
|
hostname: mail
|
||
|
depends_on:
|
||
|
- auth1
|
||
|
|
||
|
phosphoric-acid:
|
||
|
<<: *common
|
||
|
command: phosphoric-acid
|
||
|
hostname: phosphoric-acid
|
||
|
depends_on:
|
||
|
- auth1
|
||
|
- coffee
|
||
|
- mail
|
||
|
|
||
|
# vim: expandtab sw=2 ts=2
|