From c509cac99c1d5f5bfffd2640b7dfc6c08e98b14e Mon Sep 17 00:00:00 2001 From: ALinuxNinja Date: Thu, 27 Apr 2017 05:36:31 -0400 Subject: [PATCH] add mounts --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 0a79fd9..358d3b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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