add mounts
This commit is contained in:
parent
b0efb59080
commit
c509cac99c
|
@ -5,6 +5,7 @@ services:
|
||||||
image: postal
|
image: postal
|
||||||
container_name: postal
|
container_name: postal
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./data/postal/config:/opt/postal/config
|
||||||
- ./data/postal/docker:/opt/postal/docker
|
- ./data/postal/docker:/opt/postal/docker
|
||||||
links:
|
links:
|
||||||
- mysql
|
- mysql
|
||||||
|
@ -19,6 +20,8 @@ services:
|
||||||
mysql:
|
mysql:
|
||||||
image: mariadb:10
|
image: mariadb:10
|
||||||
container_name: postal_mysql
|
container_name: postal_mysql
|
||||||
|
volumes:
|
||||||
|
- ./data/mysql:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=changeme
|
- MYSQL_ROOT_PASSWORD=changeme
|
||||||
- MYSQL_DATABASE=postal
|
- MYSQL_DATABASE=postal
|
||||||
|
|
Loading…
Reference in New Issue
Block a user