Skip to content

Commit f6fed93

Browse files
authored
Update docker-compose.yaml
1 parent 23db75e commit f6fed93

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docker-compose.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ services:
44
mariadb:
55
#build:
66
# context: ./
7-
# dockerfile: alpine.10_6.Dockerfile
8-
image: tobi312/rpi-mariadb:10.6-alpine
9-
#image: tobi312/rpi-mariadb:10.6-ubuntu
10-
#image: tobi312/rpi-mariadb:10.6-debian
7+
# dockerfile: alpine.10_11.Dockerfile
8+
image: tobi312/rpi-mariadb:10.11-alpine
9+
#image: tobi312/rpi-mariadb:10.11-debian
1110
container_name: mariadb
1211
restart: unless-stopped
1312
volumes:
@@ -20,8 +19,10 @@ services:
2019
MARIADB_USER: example-user
2120
MARIADB_PASSWORD: my_cool_secret
2221
MARIADB_MYSQL_LOCALHOST_USER: true # need for healthcheck.sh
22+
#MARIADB_AUTO_UPGRADE: "true"
2323
ports:
2424
- 3306:3306
25+
#command: mysqld --innodb-buffer-pool-size=256M
2526
healthcheck:
2627
#test: mysqladmin ping -h 127.0.0.1 -u root --password=$$MARIADB_ROOT_PASSWORD || exit 1
2728
#test: mysqladmin ping -h 127.0.0.1 -u $$MARIADB_USER --password=$$MARIADB_PASSWORD || exit 1

0 commit comments

Comments
 (0)