fix perms

This commit is contained in:
Matthew Hodgson
2024-11-06 18:51:56 +00:00
parent 09f9dddf57
commit a00938f04e

View File

@@ -62,7 +62,6 @@ services:
nginx: nginx:
image: nginx:latest image: nginx:latest
user: $USER_ID:$GROUP_ID
restart: unless-stopped restart: unless-stopped
ports: ports:
- "80:80" - "80:80"
@@ -104,7 +103,6 @@ services:
postgres: postgres:
image: postgres:latest image: postgres:latest
user: $USER_ID:$GROUP_ID
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${VOLUME_PATH}/data/postgres:/var/lib/postgresql/data:rw - ${VOLUME_PATH}/data/postgres:/var/lib/postgresql/data:rw
@@ -129,7 +127,6 @@ services:
redis: redis:
image: redis:latest image: redis:latest
user: $USER_ID:$GROUP_ID
restart: unless-stopped restart: unless-stopped
# healthcheck: # healthcheck:
# test: ["CMD-SHELL", "redis-cli ping | grep PONG"] # test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
@@ -212,7 +209,6 @@ services:
mas: mas:
image: ghcr.io/element-hq/matrix-authentication-service:latest image: ghcr.io/element-hq/matrix-authentication-service:latest
user: $USER_ID:$GROUP_ID
restart: unless-stopped restart: unless-stopped
# ports: # ports:
# - 8083:8080 # - 8083:8080
@@ -232,7 +228,6 @@ services:
# as a basic local MTA # as a basic local MTA
mailhog: mailhog:
image: mailhog/mailhog:latest image: mailhog/mailhog:latest
user: $USER_ID:$GROUP_ID
restart: unless-stopped restart: unless-stopped
ports: ports:
- 8025:8025 - 8025:8025
@@ -242,7 +237,6 @@ services:
element-web: element-web:
image: vectorim/element-web:latest image: vectorim/element-web:latest
user: $USER_ID:$GROUP_ID
restart: unless-stopped restart: unless-stopped
# ports: # ports:
# - 8080:80 # - 8080:80
@@ -261,7 +255,6 @@ services:
element-call: element-call:
image: ghcr.io/element-hq/element-call image: ghcr.io/element-hq/element-call
user: $USER_ID:$GROUP_ID
restart: unless-stopped restart: unless-stopped
# ports: # ports:
# - 8082:80 # - 8082:80
@@ -275,7 +268,6 @@ services:
livekit: livekit:
image: livekit/livekit-server:latest image: livekit/livekit-server:latest
user: $USER_ID:$GROUP_ID
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${VOLUME_PATH}/data/livekit/config.yaml:/etc/livekit.yaml - ${VOLUME_PATH}/data/livekit/config.yaml:/etc/livekit.yaml
@@ -310,7 +302,6 @@ services:
FROM alpine:latest FROM alpine:latest
RUN apk update && apk add bash RUN apk update && apk add bash
COPY --from=builder /lk-jwt-service / COPY --from=builder /lk-jwt-service /
user: $USER_ID:$GROUP_ID
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${VOLUME_PATH}/data/nginx/ssl/rootCA.pem:/etc/ssl/certs/ca-certificates.crt - ${VOLUME_PATH}/data/nginx/ssl/rootCA.pem:/etc/ssl/certs/ca-certificates.crt