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

23 lines
476 B
YAML

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:
build:
context: .
args:
- PUBLISH_OPTIONS
environment:
- BOT_TOKEN
network_mode: service:wireguard
depends_on:
- wireguard