Update compose file orders
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
services:
|
||||
opengist_db:
|
||||
image: docker.io/library/mariadb:11.8.2
|
||||
container_name: opengist_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,17 +15,17 @@ services:
|
||||
- ${DB_PORT}:3306
|
||||
networks:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
start_period: 10s
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
opengist_server:
|
||||
image: ghcr.io/thomiceli/opengist:1.10.0
|
||||
container_name: opengist_server
|
||||
image: ghcr.io/thomiceli/opengist:1.10.0
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
opengist_db:
|
||||
condition: service_healthy
|
||||
@@ -49,7 +50,6 @@ services:
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
|
Reference in New Issue
Block a user