mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00
Develop: Add named volume for mariadb test server in compose.yaml #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -143,6 +143,7 @@ services:
|
||||
ports:
|
||||
- "4001:4001" # database port (host:container)
|
||||
volumes:
|
||||
- "mariadb:/var/lib/mysql"
|
||||
- "./scripts/sql/mariadb-init.sql:/docker-entrypoint-initdb.d/init.sql"
|
||||
environment:
|
||||
MARIADB_AUTO_UPGRADE: "1"
|
||||
@@ -267,6 +268,8 @@ services:
|
||||
volumes:
|
||||
go-mod:
|
||||
driver: local
|
||||
mariadb:
|
||||
driver: local
|
||||
|
||||
## Create shared "photoprism-develop" network for connecting with services in other compose.yaml files
|
||||
networks:
|
||||
|
Reference in New Issue
Block a user