fix(docker): évite les pulls Docker Hub inutiles (rate limit 429)
- Retire l'attribut version obsolète - build.pull: false — BuildKit ne vérifie plus le manifest pour golang:1.22-alpine - pull_policy: if_not_present — nginx:alpine n'est tiré que si absent du cache Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
8f3dbd0532
commit
638d347bb0
@@ -1,7 +1,8 @@
|
|||||||
version: '3.8'
|
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
pull: false
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
UDP_ADDR: "0.0.0.0:9999"
|
UDP_ADDR: "0.0.0.0:9999"
|
||||||
@@ -16,6 +17,7 @@ services:
|
|||||||
|
|
||||||
dashboard:
|
dashboard:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
|
pull_policy: if_not_present
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user