mirror of
https://github.com/daniviga/bite.git
synced 2024-11-26 23:06:14 +01:00
Fix docker-compose to run in unprivileged mode
This commit is contained in:
parent
4690421437
commit
b274378100
|
@ -39,7 +39,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
ports:
|
ports:
|
||||||
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:123:123/udp"
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:1230:123/udp" # PORT 123 CAN BE USED WHEN RUNNING AS PRIVILEGED USER
|
||||||
|
|
||||||
timescale:
|
timescale:
|
||||||
<<: *service_default
|
<<: *service_default
|
||||||
|
@ -68,11 +68,11 @@ services:
|
||||||
environment:
|
environment:
|
||||||
NGINX_ENTRYPOINT_QUIET_LOGS: 1
|
NGINX_ENTRYPOINT_QUIET_LOGS: 1
|
||||||
ports:
|
ports:
|
||||||
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:80:80"
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:8080:80" # PORT 80 CAN BE USED WHEN RUNNING AS PRIVILEGED USER
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
volumes:
|
volumes:
|
||||||
- "staticdata:/srv/appdata/bite/static:U"
|
- "staticdata:/srv/appdata/bite/static:U" # REMOVE ':U' ON MOBY/DOCKER
|
||||||
- "./ingress/nginx.conf:/etc/nginx/nginx.conf"
|
- "./ingress/nginx.conf:/etc/nginx/nginx.conf"
|
||||||
|
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ services:
|
||||||
static-files:
|
static-files:
|
||||||
image: daniviga/bite
|
image: daniviga/bite
|
||||||
volumes:
|
volumes:
|
||||||
- "staticdata:/srv/appdata/bite/static:U"
|
- "staticdata:/srv/appdata/bite/static:U" # REMOVE ':U' ON MOBY/DOCKER
|
||||||
command: ["python3", "manage.py", "collectstatic", "--noinput"]
|
command: ["python3", "manage.py", "collectstatic", "--noinput"]
|
||||||
|
|
||||||
mqtt-to-db:
|
mqtt-to-db:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user