Use dockerhub image in compose file

This commit is contained in:
2026-03-30 22:35:25 +02:00
parent b6746d2c0d
commit 823bef7bea
2 changed files with 22 additions and 3 deletions
+21
View File
@@ -0,0 +1,21 @@
services:
quay:
build:
context: .
dockerfile: Dockerfile
container_name: quay
env_file:
- .env
ports:
- '8080:4321'
volumes:
- ./config:/config
- ./storage:/storage
restart: unless-stopped
healthcheck:
test:
['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost/health']
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
+1 -3
View File
@@ -1,8 +1,6 @@
services:
quay:
build:
context: .
dockerfile: Dockerfile
image: kartoffelchipss/quay:latest
container_name: quay
env_file:
- .env