Reconfigure for test database
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
# Compile the source
|
||||
docker build -t mistox-sql ../database
|
||||
|
||||
# Start the servers
|
||||
docker compose up -d --force-recreate --remove-orphans
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
|
||||
mistox-database:
|
||||
container_name: mistox_database
|
||||
image: mistox-sql:latest
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/var/lib/mysql
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${MySQL_Pass}
|
||||
Reference in New Issue
Block a user