2023-07-14 16:27:13 -05:00
|
|
|
version: "3.7"
|
|
|
|
|
2023-04-27 10:43:34 -05:00
|
|
|
services:
|
2023-07-14 16:27:13 -05:00
|
|
|
safetwitch-frontend:
|
|
|
|
container_name: safetwitch-frontend
|
|
|
|
hostname: safetwitch-frontend
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
restart: always
|
2023-09-16 09:37:54 -05:00
|
|
|
image: safetwitch:arm64
|
|
|
|
platform: "linux/arm64"
|
2023-04-27 10:43:34 -05:00
|
|
|
ports:
|
2023-07-14 16:27:13 -05:00
|
|
|
- "127.0.0.1:8280:80"
|
|
|
|
environment:
|
2023-09-16 09:37:54 -05:00
|
|
|
- SAFETWITCH_BACKEND_DOMAIN=twitch-api.seitan-ayoub.lol
|
|
|
|
- SAFETWITCH_INSTANCE_DOMAIN=twitch.seitan-ayoub.lol
|
2023-07-14 16:27:13 -05:00
|
|
|
- SAFETWITCH_HTTPS=true
|
2023-06-13 11:08:43 -05:00
|
|
|
- SAFETWITCH_DEFAULT_LOCALE=en
|
2023-07-14 16:27:13 -05:00
|
|
|
- SAFETWITCH_FALLBACK_LOCALE=en
|
2023-09-16 09:37:54 -05:00
|
|
|
networks:
|
|
|
|
- nginx_network
|
2023-07-14 16:27:13 -05:00
|
|
|
|
|
|
|
safetwitch-backend:
|
|
|
|
container_name: safetwitch-backend
|
|
|
|
hostname: safetwitch-backend
|
|
|
|
user: 65534:65534
|
|
|
|
read_only: true
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
restart: always
|
2023-09-16 09:37:54 -05:00
|
|
|
image: safetwitch-backend:arm64
|
|
|
|
platform: "linux/arm64"
|
|
|
|
networks:
|
|
|
|
- nginx_network
|
2023-04-27 10:43:34 -05:00
|
|
|
ports:
|
2023-07-14 16:27:13 -05:00
|
|
|
- "127.0.0.1:7100:7000"
|
2023-04-27 10:43:34 -05:00
|
|
|
environment:
|
|
|
|
- PORT=7000
|
2023-09-16 09:37:54 -05:00
|
|
|
- URL=https://twitch-api.seitan-ayoub.lol
|
|
|
|
networks:
|
|
|
|
nginx_network:
|
|
|
|
external: true
|