You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
450 B
11 lines
450 B
3 years ago
|
#!/bin/bash
|
||
|
#
|
||
|
#
|
||
|
docker network create flyapps
|
||
|
docker run --net flyapps --name mariadb -e MARIADB_ROOT_PASSWORD=root -d mariadb:10.5
|
||
|
docker exec -it mariadb mysql -proot -e 'create database flyapp default character set utf8 COLLATE utf8_general_ci;'
|
||
|
docker exec -it mariadb mysql -proot -e "grant all on flyapp.* to flyuser@'%' identified by 'KGzKjZpWBp4R4RSa';"
|
||
|
|
||
|
|
||
|
docker run --net flyapps --link mariadb:mariadb -p 443:443 --name flyapps -d flyapps
|