#101 Hardcode UID/GID

Remove bas REDIS_PASSWORD declaration
This commit is contained in:
Joey Hafner 2023-10-17 08:44:45 -07:00
parent ff95a5fe90
commit adbc0540d0

View File

@ -77,14 +77,12 @@ services:
kasm_redis: kasm_redis:
container_name: kasm_redis container_name: kasm_redis
command: ["sh", "-c", "redis-server --requirepass $${REDIS_PASSWORD}"] command: ["sh", "-c", "redis-server --requirepass $${REDIS_PASSWORD}"]
user: "${KASM_UID?}:${KASM_GID?}" user: "1000:1000"
image: redis:5-alpine image: redis:5-alpine
networks: networks:
- kasm_default_network - kasm_default_network
env_file: env_file:
- kasm_secrets.env - kasm_secrets.env
environment:
REDIS_PASSWORD: changeme
logging: logging:
driver: "json-file" driver: "json-file"
options: options:
@ -94,7 +92,7 @@ services:
kasm_api: kasm_api:
container_name: kasm_api container_name: kasm_api
user: "${KASM_UID?}:${KASM_GID?}" user: "1000:1000"
image: "kasmweb/api:1.14.0" image: "kasmweb/api:1.14.0"
read_only: true read_only: true
networks: networks:
@ -113,7 +111,7 @@ services:
kasm_manager: kasm_manager:
container_name: kasm_manager container_name: kasm_manager
user: "${KASM_UID?}:${KASM_GID?}" user: "1000:1000"
image: "kasmweb/manager:1.14.0" image: "kasmweb/manager:1.14.0"
read_only: true read_only: true
networks: networks:
@ -170,7 +168,7 @@ services:
kasm_guac: kasm_guac:
container_name: kasm_guac container_name: kasm_guac
user: "${KASM_UID?}:${KASM_GID?}" user: "1000:1000"
image: "kasmweb/kasm-guac:1.14.0" image: "kasmweb/kasm-guac:1.14.0"
read_only: true read_only: true
networks: networks: