-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 1.04 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
# kset-verifikator-2025/compose-verifikator.yml
version: '3.8'
services:
db:
image: postgres:15-alpine
container_name: postgres_db
env_file:
- .env.db # Correct: Path to DB env (in same folder as this compose file)
ports:
- "5433:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- verifikatorMreza
verifikator:
build:
context: . # Context is the current directory (kset-verifikator-2025/)
container_name: verifikator
networks:
- verifikatorMreza
env_file:
- .env # Path to verifikator's specific .env (in same folder)
- .env.db # Correct: Path to DB env (also in same folder)
# ports:
# - "8000:8000"
labels:
- 'traefik.enable=true'
- 'DomainName=api-verifikator.kset.org'
depends_on:
- db
restart: unless-stopped
volumes:
postgres_data:
networks:
verifikatorMreza:
driver: bridge
name: verifikatorMreza
attachable: true