wg-manager/compose.yaml
Andrea Zucchelli bce55b225f feat: containers and celery worker
Squashed commit of the following:

commit f3c87deb32
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 23:47:36 2024 +0200

    chore: refresh button

commit e7c831e0c2
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 23:37:56 2024 +0200

    feat: wrapping up containers

commit e571b00c3d
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 21:27:52 2024 +0200

    fix: sort out sub

commit 4a75d4561b
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 21:24:56 2024 +0200

    fix: sort out sub

commit 3c1030a2fe
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 20:29:29 2024 +0200

    chore: optimize image build

commit f63d1b185b
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 20:28:11 2024 +0200

    chore: optimize image build

commit 0d9a175438
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 20:26:16 2024 +0200

    chore: optimize image build

commit bb510718d2
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 20:08:22 2024 +0200

    fix: toggle_connection

commit b48a12c1f3
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 20:02:30 2024 +0200

    fix: toggle_connection

commit 343c36002b
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 19:27:14 2024 +0200

    fix: serialization

commit 880909912c
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 19:24:06 2024 +0200

    fix: sync command

commit fbabd0cfca
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 19:13:10 2024 +0200

    fix: import Peer

commit 444f612452
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 19:09:28 2024 +0200

    chore: use celery

commit 2f96991294
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 19:02:40 2024 +0200

    fix: make gunicorn listen on 0.0.0.0

commit 313f23e23c
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 18:59:22 2024 +0200

    chore: docker stuff compat

commit c17153112b
Author: Andrea Zucchelli <zukka77@gmail.com>
Date:   Sun Oct 13 18:55:39 2024 +0200

    feat: celery decoupling
2024-10-13 23:49:48 +02:00

46 lines
964 B
YAML

services:
setup:
image: docker.io/busybox
volumes:
- vk:/vk
command: chmod 777 /vk
vk:
image: docker.io/valkey/valkey:7
environment:
- VALKEY_EXTRA_FLAGS=--unixsocket /vk/vk.socket --unixsocketperm 777
volumes:
- vk:/vk
depends_on:
- setup
wg-manager-worker:
image: wg-manager-worker
build:
context: .
dockerfile: Containerfile-worker
environment:
- CELERY_BROKER=redis+socket:///vk/vk.socket
- CELERY_BACKEND=redis+socket:///vk/vk.socket
depends_on:
- vk
network_mode: "host"
cap_add:
- NET_ADMIN
volumes:
- vk:/vk
wg-manager:
image: wg-manager
environment:
- CELERY_BROKER=redis+socket:///vk/vk.socket
- CELERY_BACKEND=redis+socket:///vk/vk.socket
build:
context: .
dockerfile: Containerfile
ports:
- "4000:4000"
depends_on:
- vk
volumes:
- vk:/vk
volumes:
vk: