Fix the volume issue.
This commit is contained in:
parent
e7722f83fd
commit
3804745fd1
2 changed files with 81 additions and 30 deletions
|
|
@ -4,11 +4,6 @@ services:
|
|||
# By default Part-DB will be running under Port 8080, you can change it here
|
||||
ports:
|
||||
- '8087:80'
|
||||
volumes:
|
||||
# By default
|
||||
- ./uploads:/var/www/html/uploads
|
||||
- ./public_media:/var/www/html/public/media
|
||||
- ./db:/var/www/html/var/db
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "compose2nix.settings.sops.secrets=songsheet/database/DATABASE_URL"
|
||||
|
|
@ -55,6 +50,12 @@ services:
|
|||
# If you need to install additional composer packages (e.g., for specific mailer transports), you can specify them here:
|
||||
# The packages will be installed automatically when the container starts
|
||||
# - COMPOSER_EXTRA_PACKAGES=symfony/mailgun-mailer symfony/sendgrid-mailer
|
||||
volumes:
|
||||
# By default
|
||||
# Devnote: # use named volumes instead of relative paths ./uploads, etc.
|
||||
- partdb_uploads_f:/var/www/html/uploads
|
||||
- partdb_media_f:/var/www/html/public/media
|
||||
- partdb_db_f:/var/www/html/var/db
|
||||
|
||||
wavelog-db: # THIS IS NOW DANGLING BUT WILL BE THERE TO PREVENT BREAKAGE OF THE MAIN COMPOSE FILE
|
||||
image: mariadb:11.3
|
||||
|
|
@ -87,4 +88,7 @@ volumes:
|
|||
wavelog-dbdata:
|
||||
wavelog-uploads:
|
||||
wavelog-userdata:
|
||||
wavelog-config:
|
||||
wavelog-config:
|
||||
partdb_uploads_f:
|
||||
partdb_media_f:
|
||||
partdb_db_f:
|
||||
Loading…
Add table
Add a link
Reference in a new issue