mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Create pre-configured DB containers for testing
This commit is contained in:
5
test/mariadb-container.sh
Executable file
5
test/mariadb-container.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# mysql://root:oj-pw@127.0.0.1:3306/openjam
|
||||
|
||||
docker run --detach --name openjam --env MARIADB_ROOT_PASSWORD=oj-pw --env MARIADB_DATABASE=openjam -p 3306:3306 mariadb:latest
|
||||
5
test/mysql-container.sh
Executable file
5
test/mysql-container.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# mysql://root:oj-pw@127.0.0.1:3306/openjam
|
||||
|
||||
docker run --detach --name openjam --env MYSQL_ROOT_PASSWORD=oj-pw --env MYSQL_DATABASE=openjam -p 3306:3306 mysql:latest
|
||||
5
test/postgres-container.sh
Executable file
5
test/postgres-container.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# postgres://postgres:oj-pw@127.0.0.1:5432/openjam
|
||||
|
||||
docker run --name openjam --env POSTGRES_PASSWORD=oj-pw --env POSTGRES_DB=openjam --detach -p 5432:5432 postgres:latest
|
||||
Reference in New Issue
Block a user