From ccfd797094464ea136264b814b96b1821510c295 Mon Sep 17 00:00:00 2001 From: shawerma Date: Sat, 16 Sep 2023 14:37:54 +0000 Subject: [PATCH] Archived arm64 docker images and add an nginx config for websockets --- docker-compose.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d7f406c..83f9718 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,15 +13,18 @@ services: - SETGID - SETUID restart: always - image: codeberg.org/dragongoose/safetwitch:latest + image: safetwitch:arm64 + platform: "linux/arm64" ports: - "127.0.0.1:8280:80" environment: - - SAFETWITCH_BACKEND_DOMAIN=changethis - - SAFETWITCH_INSTANCE_DOMAIN=changethis + - SAFETWITCH_BACKEND_DOMAIN=twitch-api.seitan-ayoub.lol + - SAFETWITCH_INSTANCE_DOMAIN=twitch.seitan-ayoub.lol - SAFETWITCH_HTTPS=true - SAFETWITCH_DEFAULT_LOCALE=en - SAFETWITCH_FALLBACK_LOCALE=en + networks: + - nginx_network safetwitch-backend: container_name: safetwitch-backend @@ -33,9 +36,15 @@ services: cap_drop: - ALL restart: always - image: codeberg.org/dragongoose/safetwitch-backend:latest + image: safetwitch-backend:arm64 + platform: "linux/arm64" + networks: + - nginx_network ports: - "127.0.0.1:7100:7000" environment: - PORT=7000 - - URL=https://changethis \ No newline at end of file + - URL=https://twitch-api.seitan-ayoub.lol +networks: + nginx_network: + external: true