Files
auracaster-webui/docker-compose.yml
2025-03-19 13:45:50 +01:00

33 lines
737 B
YAML

version: '3.8'
services:
webui:
build:
context: .
dockerfile: Dockerfile
ports:
- "8501:8501"
volumes:
- .:/app
environment:
- PYTHONUNBUFFERED=1
# Change this URL if the translator service is running on a different host
- TRANSLATOR_API_URL=http://translator:7999
restart: unless-stopped
networks:
- webui-network
- translator-network
# Uncomment the below if you want the webui to depend on the translator
# when running the two services together
# depends_on:
# - translator
networks:
webui-network:
name: webui-network
driver: bridge
translator-network:
name: translator-network
driver: bridge
external: true