0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 13:22:58 -05:00

Update docker-compose.yml

This commit is contained in:
dragongoose 2023-12-13 23:16:56 +00:00
parent 703f957891
commit 990564e63b

View file

@ -4,18 +4,10 @@ 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/safetwitch/safetwitch:latest
ports:
- "127.0.0.1:8280:80"
- "127.0.0.1:8280:8280"
environment:
- SAFETWITCH_BACKEND_DOMAIN=changeme
- SAFETWITCH_INSTANCE_DOMAIN=changeme
@ -26,7 +18,6 @@ services:
safetwitch-backend:
container_name: safetwitch-backend
hostname: safetwitch-backend
user: 65534:65534
read_only: true
security_opt:
- no-new-privileges:true
@ -39,6 +30,3 @@ services:
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