safetwitch/docker-compose.yml

41 lines
981 B
YAML
Raw Normal View History

version: "3.7"
2023-04-27 15:43:34 +00:00
services:
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
image: codeberg.org/dragongoose/safetwitch:latest
2023-04-27 15:43:34 +00:00
ports:
- "127.0.0.1:8280:80"
environment:
- SAFETWITCH_BACKEND_DOMAIN=changethis
- SAFETWITCH_INSTANCE_DOMAIN=changethis
- SAFETWITCH_HTTPS=true
2023-06-13 16:08:43 +00:00
- SAFETWITCH_DEFAULT_LOCALE=en
- SAFETWITCH_FALLBACK_LOCALE=en
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
image: codeberg.org/dragongoose/safetwitch-backend:latest
2023-04-27 15:43:34 +00:00
ports:
- "127.0.0.1:7100:7000"
2023-04-27 15:43:34 +00:00
environment:
- PORT=7000
- URL=https://changethis