0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 21:33:01 -05:00
safetwitch/docker/docker-compose.build.yml

35 lines
888 B
YAML
Raw Normal View History

2024-02-19 11:21:00 -05:00
version: "3.7"
services:
safetwitch-frontend:
container_name: safetwitch-frontend
hostname: safetwitch-frontend
restart: always
build:
context: "../"
dockerfile: "./docker/Dockerfile"
ports:
- "127.0.0.1:8280:8280"
environment:
- SAFETWITCH_BACKEND_DOMAIN=localhost:7100
- SAFETWITCH_INSTANCE_DOMAIN=localhost:8280
- SAFETWITCH_HTTPS=true
- SAFETWITCH_DEFAULT_THEME=dark
- SAFETWITCH_DEFAULT_LOCALE=en-US
- SAFETWITCH_FALLBACK_LOCALE=en-US
safetwitch-backend:
container_name: safetwitch-backend
hostname: safetwitch-backend
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
restart: always
image: codeberg.org/safetwitch/safetwitch-backend:latest
ports:
- "127.0.0.1:7100:7000"
environment:
- PORT=7000
- URL=changeme