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
version: "3.8"
networks:
internal:
external: false
volumes:
tixedb_data:
driver: local
services:
tixedb:
image: postgres:15-alpine
container_name: tixedb
restart: always
networks:
- internal
volumes:
- tixedb_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: tixe
POSTGRES_PASSWORD: tixe
POSTGRES_DB: tixe
tixe:
build: .
image: tixe
container_name: tixe
restart: always
networks:
- internal
ports:
- 8080:8080
environment:
TZ: Europe/Helsinki
GIN_MODE: release # or "debug" for debug logs
TIXE_PSQL_HOST: tixedb
TIXE_PSQL_USER: tixe
TIXE_PSQL_PASSWORD: tixe
TIXE_PSQL_DB: tixe
TIXE_COOKIE_SECRET: secret
TIXE_OIDC_DOMAIN: auth.example.com
TIXE_OIDC_CLIENTID: tixeclient
TIXE_OIDC_SECRET: secret
depends_on:
- tixedb