Docker Mysql Setup

pre-requirements

.env

1
2
3
4
5
cp .env-trunk .env
vi .env
MYSQL_ROOT_PASSWORD=[PASSWD]
NFS_HOST=addr=[IP],nolock,soft,rw
NFS_PATH=:[PATH]/mysql

create_mysql.sh

1
docker stack deploy -c docker-compose.yml stack_mysql