-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (41 loc) · 1008 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
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3'
services:
db:
image: postgres
environment:
POSTGRES_PASSWORD: "secretpassword"
volumes:
- postgres-data:/var/lib/postgres/data
ports:
- "5432:5432"
core:
image: ghcr.io/3n-company/pc-core:latest
container_name: pc-core
environment:
DB-CONNECTION-STRING: "jdbc:postgresql://db:5432/"
DB-USER: "postgres"
DB-PASS: "secretpassword"
SERVER-PORT: 8080
PHOTO-FOLDER: "/data"
NORMALIZATION-HOST: "normalisation"
NORMALIZATION-THRESHOLD: 3
COLORIZATION-HOST: "colorisation"
ports:
- "8080:8080"
volumes:
- ./photo:/data
restart: always
normalisation:
image: ghcr.io/3n-company/normalisation:main
colorisation:
image: ghcr.io/3n-company/colorisation:main
volumes:
- ./photo:/imgs
frontend:
image: ghcr.io/3n-company/pc-frontend:master
container_name: pc-frontend
ports:
- "80:3000"
volumes:
postgres-data:
core-data: