1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-18 16:03:36 +03:00

change: remove WireGuard from default Compose config

This commit is contained in:
Octol1ttle 2024-10-25 15:33:35 +05:00
parent a71c0aa2b4
commit c540a63c6f
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
3 changed files with 18 additions and 32 deletions

1
.gitignore vendored
View file

@ -8,3 +8,4 @@ riderModule.iml
/.vs/
GuildData/
Logs/
compose.yaml

17
compose.example.yaml Normal file
View file

@ -0,0 +1,17 @@
services:
octobot:
container_name: octobot
build:
context: .
args:
- PUBLISH_OPTIONS
environment:
- BOT_TOKEN
volumes:
- guild-data:/Octobot/GuildData
- logs:/Octobot/Logs
restart: unless-stopped
volumes:
guild-data:
logs:

View file

@ -1,32 +0,0 @@
services:
wireguard:
container_name: wireguard
image: jordanpotter/wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
net.ipv4.conf.all.src_valid_mark: 1
volumes:
- /etc/wireguard/octobot.conf:/etc/wireguard/wg0.conf
restart: unless-stopped
octobot:
container_name: octobot
build:
context: .
args:
- PUBLISH_OPTIONS
environment:
- BOT_TOKEN
network_mode: service:wireguard
depends_on:
- wireguard
volumes:
- guild-data:/Octobot/GuildData
- logs:/Octobot/Logs
restart: unless-stopped
volumes:
guild-data:
logs: