-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (54 loc) · 1.41 KB
/
docker-compose.yml
File metadata and controls
54 lines (54 loc) · 1.41 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
services:
web:
container_name: partea_frontend
image: spaethju/partea-webapp:prod
restart: always
networks:
partea_net:
ipv4_address: 172.16.165.2
ports:
- 8091:80
labels:
- "com.centurylinklabs.watchtower.enable=true"
app:
container_name: partea_backend
image: spaethju/partea-server:prod
env_file:
- 'docker-django.env'
restart: always
ports:
- 8093:8000
networks:
partea_net:
ipv4_address: 172.16.165.3
depends_on:
- db
labels:
- "com.centurylinklabs.watchtower.enable=true"
db:
container_name: partea_postgres
image: postgres:16.3-alpine
networks:
partea_net:
ipv4_address: 172.16.165.4
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_DB=fed_algo
- POSTGRES_USER=fed_algo
- POSTGRES_PASSWORD=t6278yczAH7rPKVMxaDD
command:
- "postgres"
- "-c"
- "max_connections=10000"
- "-c"
- "shared_buffers=2GB"
networks:
partea_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.165.0/24
volumes:
postgres_data: