diff --git a/.gitignore b/.gitignore index f97f6b8..fcda727 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ riderModule.iml /.vs/ GuildData/ Logs/ +compose.yaml diff --git a/compose.example.yaml b/compose.example.yaml new file mode 100644 index 0000000..522281f --- /dev/null +++ b/compose.example.yaml @@ -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: diff --git a/compose.yaml b/compose.yaml deleted file mode 100644 index 5872ef4..0000000 --- a/compose.yaml +++ /dev/null @@ -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: