Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d780a2568f | |||
| 823bef7bea |
+2
-1
@@ -21,7 +21,8 @@ RUN adduser -D -g '' appuser
|
|||||||
|
|
||||||
COPY --from=builder /app/quay .
|
COPY --from=builder /app/quay .
|
||||||
|
|
||||||
RUN chown -R appuser:appuser /app
|
RUN mkdir -p /storage /config && \
|
||||||
|
chown -R appuser:appuser /app /storage /config
|
||||||
|
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
services:
|
||||||
quay:
|
quay:
|
||||||
build:
|
image: kartoffelchipss/quay:latest
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
container_name: quay
|
container_name: quay
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|||||||
Reference in New Issue
Block a user