nsecbunkerd/docker-compose.yml
Paul Mullins 255e7f7dfd Fix error in docker-compose.yml, migrations.restart needs to be string
Here was the error I had,

~/nsecbunkerd$ docker-compose up -d
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.migrations.restart contains an invalid type, it should be a string
dentropy@umbrel:~/nsecbunkerd$ vim docker-compose.yml
2024-04-11 18:41:02 -04:00

33 lines
571 B
YAML

version: "3.3"
services:
nsecbunkerd:
image: pablof7z/nsecbunkerd
build: .
restart: unless-stopped
pids_limit: 100
mem_limit: 256mb
memswap_limit: 256mb
volumes:
- $HOME/.nsecbunker-config:/app/config
env_file:
- .env
ports:
- "3000:3000"
depends_on:
- migrations
migrations:
image: pablof7z/nsecbunkerd
volumes:
- $HOME/.nsecbunker-config:/app/config
env_file:
- .env
restart: "no"
entrypoint: ""
command:
- npx
- prisma
- migrate
- deploy