forked from PSE-Timetable/uftos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (40 loc) · 953 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
services:
db:
image: postgres:16.3-alpine3.18
container_name: uftos-db
restart: unless-stopped
ports:
- 5432:5432
volumes:
- pgdata:/var/lib/postgresql/data
environment:
POSTGRES_USER: uftos
POSTGRES_PASSWORD: superSecurePassword
POSTGRES_DB: uftos
api:
image: ghcr.io/pse-timetable/uftos-api:latest
container_name: uftos-api
restart: unless-stopped
# volumes:
# - ./server:/app
depends_on:
- db
environment:
DB_HOST: db
DB_PORT: 5432
DB_USER: uftos
DB_PASSWORD: superSecurePassword
DB_NAME: uftos
MAIL_HOST: mail.example.org
MAIL_USER: myUser
MAIL_PASSWORD: highlySecurePassword
MAIL_FROM: uftos@example.com
JAVA_TOOL_OPTIONS: -Xmx8G
web:
image: ghcr.io/pse-timetable/uftos-web:latest
container_name: uftos-web
ports:
- 5173:5173
restart: unless-stopped
volumes:
pgdata: