forked from UnownHash/Flygon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.example
50 lines (48 loc) · 1.32 KB
/
docker-compose.yml.example
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
version: '3.7'
services:
flygon:
image: ghcr.io/unownhash/flygon:main
container_name: flygon
restart: unless-stopped
volumes:
- type: bind
source: ./flygon_config.toml
target: /flygon/config.toml
# optional volumes if you want to have access to logs
# comment if not needed
- type: bind
source: ${PWD}/logs
target: /flygon/logs
ports:
- "9002:9002"
golbat:
image: ghcr.io/unownhash/golbat:main
container_name: golbat
restart: unless-stopped
volumes:
- type: bind
source: ./golbat_config.toml
target: /golbat/config.toml
# optional volumes if you want to have access to logs and persist cache
# comment if not needed
- type: bind
source: ${PWD}/cache
target: /golbat/cache
- type: bind
source: ${PWD}/logs
target: /golbat/logs
ports:
- "9001:9001"
admin:
image: ghcr.io/unownhash/flygon-admin:main
container_name: admin
restart: unless-stopped
environment:
ADMIN_GENERAL_USERNAME: admin
ADMIN_GENERAL_PASSWORD: password
ADMIN_FLYGON_API_ENDPOINT: http://flygon:9002
ADMIN_FLYGON_API_SECRET: secret
ADMIN_GOLBAT_API_ENDPOINT: http://golbat:9001
ADMIN_GOLBAT_API_SECRET: secret
ports:
- "9003:9003"