2023-04-27 11:43:34 -04:00
|
|
|
services:
|
2025-01-21 10:20:42 +03:00
|
|
|
st_frontend:
|
|
|
|
container_name: safetwitch_frontend
|
|
|
|
image: git.ngn.tf/ngn/safetwitch
|
2023-04-27 11:43:34 -04:00
|
|
|
ports:
|
2025-01-21 10:20:42 +03:00
|
|
|
- 8080:8280
|
2023-07-14 21:27:13 +00:00
|
|
|
environment:
|
2025-01-21 10:20:42 +03:00
|
|
|
- SAFETWITCH_BACKEND_DOMAIN=localhost:8081
|
|
|
|
- SAFETWITCH_INSTANCE_DOMAIN=localhost:8080
|
|
|
|
- SAFETWITCH_HTTPS=false
|
|
|
|
- SAFETWITCH_DEFAULT_LOCALE=en
|
|
|
|
- SAFETWITCH_FALLBACK_LOCALE=en
|
|
|
|
restart: unless-stopped
|
2023-07-14 21:27:13 +00:00
|
|
|
|
2025-01-21 10:20:42 +03:00
|
|
|
st_backend:
|
|
|
|
container_name: safetwitch_backend
|
|
|
|
image: codeberg.org/safetwitch/safetwitch-backend:latest
|
2023-07-14 21:27:13 +00:00
|
|
|
read_only: true
|
|
|
|
security_opt:
|
2025-01-21 10:20:42 +03:00
|
|
|
- no-new-privileges:true
|
2023-07-14 21:27:13 +00:00
|
|
|
cap_drop:
|
2025-01-21 10:20:42 +03:00
|
|
|
- ALL
|
2023-04-27 11:43:34 -04:00
|
|
|
ports:
|
2025-01-21 10:20:42 +03:00
|
|
|
- 8081:7000
|
2023-04-27 11:43:34 -04:00
|
|
|
environment:
|
2025-01-21 10:20:42 +03:00
|
|
|
- PORT=7000
|
|
|
|
- URL=http://localhost:8081
|
|
|
|
restart: unless-stopped
|