-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (36 loc) · 1016 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (36 loc) · 1016 Bytes
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
version: '3.9'
services:
ghwh-listenener:
image: public.whale.iluvatar.xyz:5050/ghwh-listener
volumes:
- /tmp/ghwh-listener-container/sockets:/sockets
- type: volume
source: git-hooks
target: /git-hooks
restart: always
network_mode: none
secrets:
- ghwh-listener-env
discord-bot:
image: public.whale.iluvatar.xyz:5050/discord-bot
volumes:
- ./discord-bot/config.yml:/config.yml
- type: volume
source: git-hooks
target: /git-hooks
# this is optional
- type: bind
source: /var/www/url-short/s
target: /short-urls
restart: always
network_mode: host
secrets:
- discord-bot-env
secrets:
ghwh-listener-env:
file: ./ghwh-listener/.env
discord-bot-env:
file: ./discord-bot/.env
volumes:
git-hooks:
external: false