feat: Fix permission and env errors, add loggings, socket perm args

This commit is contained in:
GW_MC
2025-12-21 18:52:26 +08:00
parent 7781878c2d
commit b823fe6281
3 changed files with 75 additions and 25 deletions

View File

@@ -19,8 +19,10 @@ FROM nginx:mainline-alpine3.23 AS base
# Expose typical HTTP ports used by nginx
EXPOSE 80 443
ENV S6_KEEP_ENV=1
ENV YANPM_AGENT_SOCK=/var/run/yanpm/yanpm-agent.sock
ENV YANPM_NGINX_CONFIG_DIR=/etc/nginx/conf.d
ENV YANPM_AGENT_SOCK_PERM=660
WORKDIR /app