mirror of
https://github.com/daniviga/bite.git
synced 2025-04-20 14:31:20 +02:00
Add an ENV far for custom docker binding
This commit is contained in:
parent
fb92cd3198
commit
9dcb86366f
@ -7,15 +7,15 @@ services:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
ports:
|
ports:
|
||||||
- "1883:1883"
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:1883:1883"
|
||||||
- "9001:9001"
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:9001:9001"
|
||||||
|
|
||||||
bite:
|
bite:
|
||||||
volumes:
|
volumes:
|
||||||
- ../bite:/srv/app/bite
|
- ../bite:/srv/app/bite
|
||||||
command: ["python3", "manage.py", "runserver", "0.0.0.0:8000"]
|
command: ["python3", "manage.py", "runserver", "0.0.0.0:8000"]
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:8000:8000"
|
||||||
|
|
||||||
data-migration:
|
data-migration:
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -20,7 +20,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
ports:
|
ports:
|
||||||
- "123:123/udp"
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:123:123/udp"
|
||||||
|
|
||||||
timescale:
|
timescale:
|
||||||
<<: *service_default
|
<<: *service_default
|
||||||
@ -41,13 +41,13 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
ports:
|
ports:
|
||||||
- "1883:1883"
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:1883:1883"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
<<: *service_default
|
<<: *service_default
|
||||||
image: nginx:stable-alpine
|
image: nginx:stable-alpine
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:80:80"
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user