This repository was archived by the owner on Dec 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-release.yml
More file actions
71 lines (69 loc) · 1.51 KB
/
docker-compose-release.yml
File metadata and controls
71 lines (69 loc) · 1.51 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: "2.2"
# ipv6 is not supported in version 3
services:
varnish:
restart: unless-stopped
image: faust.cs.fau.de:5000/cached
init: true
build: cached
command: "-a :9090 -F -f /etc/varnish/default.vcl -T :6082 -t 120 -p thread_pool_min=50 -p thread_pool_max=1000 -p thread_pool_timeout=120 -i varnish -s malloc,512M"
ports:
- "9090:9090"
volumes: []
links:
- api
- frontend
external_links: []
networks:
- backend
- default
api:
restart: unless-stopped
image: faust.cs.fau.de:5000/missiond
init: true
build: missiond
command: gunicorn --config gunicorn.py app:app
expose:
- "5000"
networks:
- backend
links:
- postgres
frontend:
restart: unless-stopped
image: faust.cs.fau.de:5000/frontend
init: true
build: frontend
expose:
- "3000"
networks:
- backend
postgres:
restart: unless-stopped
image: postgres:16-alpine
volumes:
- ./data/:/var/lib/postgresql/data/
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: missions
command: -p 11111
expose:
- "11111"
networks:
- backend
healthcheck:
test: ["CMD-SHELL", "pg_isready -d missions"]
interval: 10s
timeout: 10s
retries: 20
start_period: 10s
networks:
backend:
name: backend
default:
enable_ipv6: true
ipam:
driver: default
config:
- subnet: "fd42:d0ce:666::/64"