remove persistent_data folder to solve auto create on first load
parent
f08e3f4349
commit
79dbe4225b
@ -1,14 +1,14 @@
|
|||||||
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
|
||||||
- ACTIVEMQ_CONFIG_MINMEMORY=512
|
- ACTIVEMQ_CONFIG_MINMEMORY=512
|
||||||
- ACTIVEMQ_CONFIG_MAXMEMORY=2048
|
- ACTIVEMQ_CONFIG_MAXMEMORY=2048
|
||||||
ports:
|
ports:
|
||||||
- "8161:8161"
|
- "8161:8161"
|
||||||
- "61616:61616"
|
- "61616:61616"
|
||||||
- "61613:61613"
|
- "61613:61613"
|
||||||
|
|||||||
@ -1,22 +1,21 @@
|
|||||||
# Use root/example as user/password credentials
|
# Use root/example as user/password credentials
|
||||||
version: '3.1'
|
version: "3.1"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
db:
|
||||||
|
image: mysql
|
||||||
|
command: --default-authentication-plugin=mysql_native_password
|
||||||
|
# restart: always
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: root
|
||||||
|
volumes:
|
||||||
|
- ./persistent_data:/var/lib/mysql
|
||||||
|
- ./etc/conf.d:/etc/mysql/conf.d
|
||||||
|
|
||||||
db:
|
#adminer:
|
||||||
image: mysql
|
# image: adminer
|
||||||
command: --default-authentication-plugin=mysql_native_password
|
# restart: always
|
||||||
restart: always
|
# ports:
|
||||||
ports:
|
# - 8080:8080
|
||||||
- "3306:3306"
|
|
||||||
environment:
|
|
||||||
MYSQL_ROOT_PASSWORD: root
|
|
||||||
volumes:
|
|
||||||
- ./persistent_data:/var/lib/mysql
|
|
||||||
- ./etc/conf.d:/etc/mysql/conf.d
|
|
||||||
|
|
||||||
#adminer:
|
|
||||||
# image: adminer
|
|
||||||
# restart: always
|
|
||||||
# ports:
|
|
||||||
# - 8080:8080
|
|
||||||
|
|||||||
@ -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…
Reference in New Issue