2 Commits

Author SHA1 Message Date
KartoffelChipss d780a2568f Own config and storage folder to appuser 2026-03-30 23:06:50 +02:00
KartoffelChipss 823bef7bea Use dockerhub image in compose file 2026-03-30 22:35:25 +02:00
3 changed files with 24 additions and 4 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ RUN adduser -D -g '' appuser
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
+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