Update compose file orders
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
services:
|
||||
gitea_db:
|
||||
image: docker.io/library/mariadb:11.8.2
|
||||
container_name: gitea_db
|
||||
image: docker.io/library/mariadb:11.8.2
|
||||
restart: unless-stopped
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
@@ -14,7 +15,6 @@ services:
|
||||
- ${DB_PORT}:3306
|
||||
networks:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
start_period: 10s
|
||||
@@ -23,8 +23,9 @@ services:
|
||||
retries: 3
|
||||
|
||||
gitea_server:
|
||||
image: docker.io/gitea/gitea:1.24.2-rootless
|
||||
container_name: gitea_server
|
||||
image: docker.io/gitea/gitea:1.24.2-rootless
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
gitea_db:
|
||||
condition: service_healthy
|
||||
@@ -46,7 +47,6 @@ services:
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
|
Reference in New Issue
Block a user