This repository was archived by the owner on Oct 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (62 loc) · 1.68 KB
/
docker-compose.yml
File metadata and controls
66 lines (62 loc) · 1.68 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
name: laborky_UJEP
services:
database:
image: postgres:17.0
container_name: laborky_db
restart: unless-stopped
environment:
POSTGRES_PASSWORD: postgres
PGDATABASE: akcereg
POSTGRES_DB: postgres
PGDATA: /var/lib/postgresql/new_data
volumes:
- ./database/db/pg_dump.sql:/docker-entrypoint-initdb.d/seed.sql
- ./database/pg_hba.conf:/var/lib/postgresql/data/pg_hba.conf
- ./database/data:/var/lib/postgresql/new_data
networks:
laborky_network:
ipv4_address: 172.254.5.4
frontend:
image: ghcr.io/kopytkg/akcereg-fe:latest
environment:
NEXT_PUBLIC_BASE: "https://chat.local.thekrew.app"
NEXT_PUBLIC_TIME_GAP: 8
BASE: "https://chat.local.thekrew.app"
API: "http://backend:9999"
STAG_SERVER: "https://stag-demo.zcu.cz/ws"
container_name: laborky_FE
restart: unless-stopped
ports:
- "3000:3000"
depends_on:
- database
- backend
networks:
laborky_network:
ipv4_address: 172.254.5.3
backend:
image: ghcr.io/kopytkg/akcereg-be:latest
environment:
PORT: "9999"
HOST: "0.0.0.0"
DB_URL: "postgresql://postgres:postgres@database:5432/akcereg"
INTERVAL_VYPISU_DNY: 14
STAG_URL: "https://stag-demo.zcu.cz/"
MIN_TIME_ODZAPIS: 8
INTERVAL_ZOBRAZENI_HODINY: 4
container_name: laborky_BE
restart: unless-stopped
depends_on:
- database
networks:
laborky_network:
ipv4_address: 172.254.5.5
networks:
laborky_network:
name: laborky
attachable: true
ipam:
config:
- subnet: 172.254.5.0/24
ip_range: 172.254.5.0/24
gateway: 172.254.5.254