-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
35 lines (33 loc) · 960 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
advent-of-code-downloader:
container_name: advent-of-code
user: "${UID}:${GID}"
build: .
entrypoint: [ 'python', '-m', 'infrastructure.commands.downloader', '--year=$YEAR', '--day=$DAY' ]
env_file:
- .env
volumes:
- ./inputs:/app/inputs
advent-of-code-runner:
container_name: advent-of-code-runner
user: "${UID}:${GID}"
build: .
entrypoint: [ 'python', '-m', 'infrastructure.commands.runner', '--year=$YEAR', '--day=$DAY', '--part=$PART' ]
env_file:
- .env
volumes:
- ./inputs:/app/inputs
depends_on:
- advent-of-code-downloader
advent-of-code-validator:
container_name: advent-of-code-validator
user: "${UID}:${GID}"
build: .
entrypoint: [ 'python', '-m', 'infrastructure.commands.validator' ]
env_file:
- .env
volumes:
- ./inputs:/app/inputs
depends_on:
- advent-of-code-runner
- advent-of-code-downloader