mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Add db container and restore script & instructions
This commit is contained in:
@@ -17,3 +17,18 @@ services:
|
||||
- 4000:4000
|
||||
command: >
|
||||
sh -c "cd /usr/src/app && npm ci && npm run dev"
|
||||
now-db:
|
||||
container_name: nowdb-db
|
||||
image: mariadb
|
||||
environment:
|
||||
MARIADB_ROOT_PASSWORD: admin
|
||||
MARIADB_HOST: localhost
|
||||
MARIADB_DATABASE: now_test
|
||||
MARIADB_LOG_DATABASE: now_log_test.log
|
||||
MARIADB_USER: now_test
|
||||
MARIADB_PASSWORD: mariadb_password
|
||||
volumes:
|
||||
- ./data/:/docker-entrypoint-initdb.d
|
||||
volumes:
|
||||
nowdb-db:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user