-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpodman-compose.yml
More file actions
54 lines (50 loc) · 1.16 KB
/
podman-compose.yml
File metadata and controls
54 lines (50 loc) · 1.16 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
version: "3.8"
services:
db:
image: docker.io/library/postgres:16
restart: unless-stopped
env_file:
- .env.postgres
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
nftbk-server:
image: ghcr.io/0xmichalis/nftbk-server:latest
pull_policy: always
env_file:
- .env
expose:
- "8080"
volumes:
- ./data:/app/data
- ./config.toml:/app/config/config.toml:ro
user: "65532:65532"
command: [
"/app/nftbk-server",
"--listen-address", "0.0.0.0:8080",
"--unsafe-skip-checksum-check", "true",
"--base-dir", "/app/data",
"--config", "/app/config/config.toml"
]
restart: unless-stopped
caddy:
image: ghcr.io/caddy-dns/cloudflare:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile.template:/etc/caddy/Caddyfile.template
- ./scripts/start_caddy.sh:/start_caddy.sh
- caddy_data:/data
- caddy_config:/config
env_file:
- .env.caddy
entrypoint: ["/bin/sh", "/start_caddy.sh"]
depends_on:
- nftbk-server
restart: unless-stopped
volumes:
caddy_data:
caddy_config:
pgdata: