mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 05:12:57 -05:00
Update docker-compose.yml
This commit is contained in:
parent
703f957891
commit
990564e63b
1 changed files with 2 additions and 14 deletions
|
@ -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
|
||||
|
@ -38,7 +29,4 @@ services:
|
|||
- "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
|
||||
- URL=changeme
|
Loading…
Reference in a new issue