mirror of
https://codeberg.org/dragongoose/safetwitch.git
synced 2024-09-06 08:42:31 +00:00
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
version: "3.7"
|
|
|
|
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: safetwitch:arm64
|
|
image: codeberg.org/dragongoose/safetwitch:latest
|
|
ports:
|
|
- "127.0.0.1:8280:80"
|
|
environment:
|
|
- SAFETWITCH_BACKEND_DOMAIN=changeme
|
|
- SAFETWITCH_INSTANCE_DOMAIN=changeme
|
|
- SAFETWITCH_HTTPS=true
|
|
- SAFETWITCH_DEFAULT_LOCALE=en
|
|
- SAFETWITCH_FALLBACK_LOCALE=en
|
|
# networks:
|
|
#- nginx_network
|
|
|
|
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: safetwitch-backend:arm64
|
|
image: codeberg.org/dragongoose/safetwitch-backend:latest
|
|
#networks:
|
|
#- nginx_network
|
|
ports:
|
|
- "127.0.0.1:7100:7000"
|
|
environment:
|
|
- PORT=7000
|
|
- URL=changeme
|
|
#networks:
|
|
# nginx_network:
|
|
#external: true #use if you run nginx in a docker container, make sure nginx is in the same network
|