Switch deployment target from Unraid to Portainer; update docker-compose and docs
This commit is contained in:
parent
c16d48ee32
commit
7acf7bcca9
2 changed files with 40 additions and 12 deletions
|
|
@ -1,11 +1,19 @@
|
|||
services:
|
||||
booth:
|
||||
build: .
|
||||
# Option A: use a pre-built image (push this from CI or build locally and tag)
|
||||
# image: registry.gitlab.hallsworth.ca/yrtria/theme-song-booth:latest
|
||||
# Option B: build directly from the GitLab repo in Portainer
|
||||
build:
|
||||
context: https://gitlab.hallsworth.ca/yrtria/theme-song-booth.git#main
|
||||
container_name: theme-song-booth
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
ports:
|
||||
- "127.0.0.1:8000:8000"
|
||||
volumes:
|
||||
- /mnt/user/appdata/theme-song-booth/data:/app/data
|
||||
- /mnt/user/appdata/theme-song-booth/uploads:/app/uploads
|
||||
- booth-data:/app/data
|
||||
- booth-uploads:/app/uploads
|
||||
|
||||
volumes:
|
||||
booth-data:
|
||||
booth-uploads:
|
||||
|
|
|
|||
Reference in a new issue