Faas semi worfking
This commit is contained in:
@ -26,6 +26,7 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: faas-api-service
|
||||
# user: "1000:1000" # Run as root to access Podman socket properly
|
||||
environment:
|
||||
FAAS_APP_ENV: development
|
||||
FAAS_DB_HOST: faas-postgres
|
||||
@ -61,8 +62,15 @@ services:
|
||||
networks:
|
||||
- faas-network
|
||||
volumes:
|
||||
- /run/user/1000/podman/podman.sock:/var/run/docker.sock:ro # For Podman runtime
|
||||
- /run/user/1000/podman:/run/user/1000/podman:z # Mount entire Podman runtime directory
|
||||
- ./migrations:/app/migrations:ro,Z
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
- MKNOD
|
||||
devices:
|
||||
- /dev/fuse
|
||||
security_opt:
|
||||
- label=disable
|
||||
restart: unless-stopped
|
||||
|
||||
# faas-frontend:
|
||||
|
||||
Reference in New Issue
Block a user