File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,16 +155,22 @@ jobs:
155155 services:
156156 labelgate:
157157 image: ghcr.io/channinghe/labelgate:VERSION_PLACEHOLDER
158+ container_name: labelgate
158159 restart: unless-stopped
160+ # use command "stat -c '%g' /var/run/docker.sock" to get the group id of the docker socket
161+ group_add:
162+ - "REPLACE_WITH_GROUP_ID"
159163 volumes:
160164 - /var/run/docker.sock:/var/run/docker.sock:ro
165+ # Run the command "sudo chown -R 65532:65532 ./labelgate-data" to ensure the mount path has the correct ownership.
161166 - ./labelgate-data:/app/config
162167 environment:
163168 - LABELGATE_CLOUDFLARE_API_TOKEN
164169 - LABELGATE_CLOUDFLARE_ACCOUNT_ID
165170 - LABELGATE_CLOUDFLARE_TUNNEL_ID
166171 ports:
167172 - "28111:8080"
173+ network_mode: bridge
168174 ```
169175 COMPOSE
170176
You can’t perform that action at this time.
0 commit comments