mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
better networking
This commit is contained in:
parent
024c277e7b
commit
bc92985748
1 changed files with 4 additions and 3 deletions
|
|
@ -5,7 +5,6 @@ services:
|
|||
dockerfile: docker/Dockerfile
|
||||
container_name: dispatcharr_web
|
||||
ports:
|
||||
- "9191:9191"
|
||||
- "5656:5656"
|
||||
depends_on:
|
||||
- db
|
||||
|
|
@ -21,15 +20,17 @@ services:
|
|||
- POSTGRES_PASSWORD=secret
|
||||
- REDIS_HOST=redis
|
||||
- CELERY_BROKER_URL=redis://redis:6379/0
|
||||
- REACT_UI=true
|
||||
|
||||
ui:
|
||||
image: alpine
|
||||
container_name: dispatcharr_ui
|
||||
network_mode: service:web
|
||||
volumes:
|
||||
- ../frontend:/app
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
entrypoint: ["/bin/sh", "/app/entrypoint.sh"]
|
||||
ports:
|
||||
- "9191:9191"
|
||||
|
||||
celery:
|
||||
build:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue