Update forgejo_db
This commit is contained in:
@@ -8,17 +8,17 @@ services:
|
|||||||
- MYSQL_USER=${MYSQL_USER}
|
- MYSQL_USER=${MYSQL_USER}
|
||||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||||
|
volumes:
|
||||||
|
- ${APPDATA_PATH}/forgejo/db:/var/lib/mysql
|
||||||
|
ports:
|
||||||
|
- ${DB_PORT}:3306
|
||||||
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
volumes:
|
|
||||||
- ${APPDATA_PATH}/forgejo/db:/var/lib/mysql
|
|
||||||
ports:
|
|
||||||
- ${DB_PORT}:3306
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
forgejo_server:
|
forgejo_server:
|
||||||
image: codeberg.org/forgejo/forgejo:11.0.1-rootless
|
image: codeberg.org/forgejo/forgejo:11.0.1-rootless
|
||||||
|
|||||||
Reference in New Issue
Block a user