-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
60 lines (58 loc) · 1.43 KB
/
docker-compose.yml
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
version: "3.9"
services:
#######################################
# The Bridge Service.
# At the first run include the flag --build to build the image.
#######################################
thebridge:
build:
context: .
dockerfile: ./Dockerfile
image: ghcr.io/hyp3rd/bridge:v1.1.10
container_name: "thebridge"
hostname: "thebridge"
expose:
- "8000"
ports:
- mode: ingress
target: 8000
published: 8000
protocol: tcp
networks:
thebridge-net: null
volumes:
- type: bind
source: ./config.yml
target: /app/config.yml
bind:
create_host_path: true
- type: bind
source: ./hyp3rbridg3.log
target: /app/hyp3rbridg3.log
bind:
create_host_path: true
- type: bind
source: ./hyp3rbridg3_discord.log
target: /app/hyp3rbridg3_discord.log
bind:
create_host_path: true
- type: bind
source: ./hyp3rbridg3_telegram.log
target: /app/hyp3rbridg3_telegram.log
bind:
create_host_path: true
- type: bind
source: ./messages_history.json
target: /app/messages_history.json
bind:
create_host_path: true
# Networks section
networks:
thebridge-net:
name: thebridge-net
driver: bridge
ipam:
driver: default
config:
- subnet: "172.20.0.0/16"
attachable: true