mirror of
https://github.com/chevereto/docker.git
synced 2026-02-25 23:50:46 +01:00
fixupdate
This commit is contained in:
12
default.yml
12
default.yml
@@ -10,21 +10,11 @@ services:
|
||||
- database:/var/lib/mysql
|
||||
restart: always
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"healthcheck.sh",
|
||||
"--su-mysql",
|
||||
"--connect",
|
||||
"--innodb_initialized",
|
||||
]
|
||||
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
environment:
|
||||
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true
|
||||
MARIADB_MYSQL_LOCALHOST_USER: 1
|
||||
MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE
|
||||
MYSQL_ROOT_PASSWORD: password
|
||||
MYSQL_DATABASE: chevereto
|
||||
MYSQL_USER: chevereto
|
||||
|
||||
9
dev.yml
9
dev.yml
@@ -12,14 +12,7 @@ services:
|
||||
- ${DB_PORT}:3306
|
||||
restart: always
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"healthcheck.sh",
|
||||
"--su-mysql",
|
||||
"--connect",
|
||||
"--innodb_initialized",
|
||||
]
|
||||
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
@@ -10,7 +10,7 @@ services:
|
||||
- database:/var/lib/mysql
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
@@ -77,7 +77,7 @@ services:
|
||||
- database:/var/lib/mysql
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
4
namespace/dev
Normal file
4
namespace/dev
Normal file
@@ -0,0 +1,4 @@
|
||||
TARGET=dev
|
||||
PROTOCOL=http
|
||||
HTTP_PORT=9980
|
||||
HTTPS_PORT=9943
|
||||
Reference in New Issue
Block a user