remove persistent_data folder to solve auto create on first load

master
YIk Teng Hie 5 years ago
parent f08e3f4349
commit 79dbe4225b

@ -1,8 +1,8 @@
version: '2' version: "2"
services: services:
redis: redis:
image: 'webcenter/activemq:latest' image: "webcenter/activemq:latest"
environment: environment:
- ACTIVEMQ_ADMIN_LOGIN=admin - ACTIVEMQ_ADMIN_LOGIN=admin
- ACTIVEMQ_ADMIN_PASSWORD=admin - ACTIVEMQ_ADMIN_PASSWORD=admin

@ -1,12 +1,11 @@
# Use root/example as user/password credentials # Use root/example as user/password credentials
version: '3.1' version: "3.1"
services: services:
db: db:
image: mysql image: mysql
command: --default-authentication-plugin=mysql_native_password command: --default-authentication-plugin=mysql_native_password
restart: always # restart: always
ports: ports:
- "3306:3306" - "3306:3306"
environment: environment:

@ -1,13 +0,0 @@
# Persistent storage
* Sql db data store here to avoid data loss if container shutdown
```yml
services:
db:
image: mysql
...
volumes:
- ./persistent_data:/var/lib/mysql
```

@ -1,13 +0,0 @@
# Persistent storage
* Sql db data store here to avoid data loss if container shutdown
```yml
services:
db:
image: mysql
...
volumes:
- ./persistent_data:/var/lib/mysql
```
Loading…
Cancel
Save