Add sql database volume dir

This commit is contained in:
Jan Eitzinger 2021-06-15 17:36:17 +02:00
parent 24f5331c8c
commit 3b96d30306
2 changed files with 2 additions and 1 deletions

View File

@ -72,6 +72,7 @@ After that from the root of the repository you can start up the containers with:
By default, you can access ClusterCockpit in your browser at `http://localhost`. By default, you can access ClusterCockpit in your browser at `http://localhost`.
If `NGINX_PORT` environment variable was changed, `use http://localhost:$PORT`. If `NGINX_PORT` environment variable was changed, `use http://localhost:$PORT`.
The InfluxDB Web interface can be accessed at `http://localhost:8086` using the credentials set in `.env`. The InfluxDB Web interface can be accessed at `http://localhost:8086` using the credentials set in `.env`.
PHPMyAdmin can be reached at `http://localhost:8080`.
If default database fixture were used, the credentials for admin user are: If default database fixture were used, the credentials for admin user are:
* User: `admin` * User: `admin`

View File

@ -1,7 +1,7 @@
services: services:
db: db:
volumes: volumes:
- ${DATADIR}/sql:/var/lib/mysql - ${DATADIR}/sqldata:/var/lib/mysql
influxdb: influxdb:
ports: ports: