Update Docker Tutorial authored by Derek Williams's avatar Derek Williams
...@@ -8,33 +8,4 @@ To fix this issue each server is currently being ran inside of it's own Docker c ...@@ -8,33 +8,4 @@ To fix this issue each server is currently being ran inside of it's own Docker c
In the file titled `dev-docker-compose.yml`, we have the configuration required to launch a MySQL server. The section below will explain what this configuration does: In the file titled `dev-docker-compose.yml`, we have the configuration required to launch a MySQL server. The section below will explain what this configuration does:
```yaml $21
--- \ No newline at end of file
version: "3.9"
services:
frpg_mysql:
container_name: frpg_mysql
hostname: frpgmysql
restart: unless-stopped
build:
context: ./database
cap_add:
- SYS_NICE
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
volumes:
- /Scratch/.frpg/mysql:/var/lib/mysql # Mounts the first directory inside the container at the second directory
ports:
- "3308:3306"
networks:
- frpg_database
healthcheck:
test: [ "CMD", "mysqladmin", "ping" ]
interval: 10s
timeout: 5s
retries: 5
start_period: 15s
networks:
frpg_database:
```
\ No newline at end of file