add mounts

This commit is contained in:
ALinuxNinja 2017-04-27 05:36:31 -04:00
parent b0efb59080
commit c509cac99c

View File

@ -5,6 +5,7 @@ services:
image: postal
container_name: postal
volumes:
- ./data/postal/config:/opt/postal/config
- ./data/postal/docker:/opt/postal/docker
links:
- mysql
@ -19,6 +20,8 @@ services:
mysql:
image: mariadb:10
container_name: postal_mysql
volumes:
- ./data/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=changeme
- MYSQL_DATABASE=postal