fix: docker permission again two.
Some checks failed
Build and Push Docker Image / buildx (push) Has been cancelled
Some checks failed
Build and Push Docker Image / buildx (push) Has been cancelled
This commit is contained in:
@@ -12,15 +12,6 @@ services:
|
||||
environment:
|
||||
- PORT=3000
|
||||
- JWT_SECRET=${JWT_SECRET:-change-this-secret-key-in-production}
|
||||
- DB_PATH=/app/data/data.db
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- init-data-dir
|
||||
|
||||
init-data-dir:
|
||||
image: alpine:latest
|
||||
command: chown -R 1001:1001 /app/data
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
|
||||
Reference in New Issue
Block a user