Added volume to mariadb and tweaked network sttngs
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
9a9fc9fc00
commit
1812ddbfac
1 changed files with 4 additions and 2 deletions
|
@ -37,7 +37,6 @@ services:
|
|||
restart: always
|
||||
environment:
|
||||
TZ: 'Europe/Helsinki'
|
||||
network_mode: host
|
||||
ports:
|
||||
- '1880:1880'
|
||||
volumes:
|
||||
|
@ -49,7 +48,8 @@ services:
|
|||
container_name: portainer
|
||||
image: portainer/portainer
|
||||
restart: always
|
||||
network_mode: host
|
||||
ports:
|
||||
- '9000:9000'
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /homeautomation-config/portainer:/data
|
||||
|
@ -82,3 +82,5 @@ services:
|
|||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
ports:
|
||||
- '3308:3306'
|
||||
volumes:
|
||||
- /homeautomation-config/mariadb:/var/lib/mysql
|
||||
|
|
Loading…
Reference in a new issue