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
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
TZ: 'Europe/Helsinki'
|
TZ: 'Europe/Helsinki'
|
||||||
network_mode: host
|
|
||||||
ports:
|
ports:
|
||||||
- '1880:1880'
|
- '1880:1880'
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -49,7 +48,8 @@ services:
|
||||||
container_name: portainer
|
container_name: portainer
|
||||||
image: portainer/portainer
|
image: portainer/portainer
|
||||||
restart: always
|
restart: always
|
||||||
network_mode: host
|
ports:
|
||||||
|
- '9000:9000'
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /homeautomation-config/portainer:/data
|
- /homeautomation-config/portainer:/data
|
||||||
|
@ -82,3 +82,5 @@ services:
|
||||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||||
ports:
|
ports:
|
||||||
- '3308:3306'
|
- '3308:3306'
|
||||||
|
volumes:
|
||||||
|
- /homeautomation-config/mariadb:/var/lib/mysql
|
||||||
|
|
Loading…
Reference in a new issue