Use dockerhub image in compose file
This commit is contained in:
@@ -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
@@ -1,8 +1,6 @@
|
||||
services:
|
||||
quay:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: kartoffelchipss/quay:latest
|
||||
container_name: quay
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
Reference in New Issue
Block a user