This repository was archived by the owner on Sep 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (72 loc) · 1.48 KB
/
docker-compose.yml
File metadata and controls
77 lines (72 loc) · 1.48 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
67
68
69
70
71
72
73
74
75
76
77
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: talis
POSTGRES_PASSWORD: talis
POSTGRES_DB: talis
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U talis"]
interval: 5s
timeout: 5s
retries: 5
api:
image: ghcr.io/celestiaorg/talis:latest
env_file:
- .env
environment:
- SERVER_PORT=8080
- DB_HOST=${DB_HOST:-db}
- DB_PORT=${DB_PORT:-5432}
depends_on:
- db
# Mount the SSH key from the server to the container
volumes:
- /root/.ssh:/root/.ssh:ro
kong-database:
image: postgres:9.6
container_name: kong-database
ports:
- 5433:5432
env_file:
- .env
volumes:
- "db-data-kong-postgres:/var/lib/postgresql/data"
kong-migrations:
image: kong
env_file:
- .env
command: kong migrations bootstrap
restart: on-failure
depends_on:
- kong-database
kong:
image: kong
container_name: kong
env_file:
- .env
restart: on-failure
ports:
- 8000:8000
- 8001:8001
links:
- kong-database:kong-database
depends_on:
- kong-migrations
konga:
image: pantsel/konga
ports:
- 1337:1337
links:
- kong:kong
container_name: konga
restart: on-failure
environment:
- NODE_ENV=production
volumes:
postgres_data:
db-data-kong-postgres: