Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Container Startup Problem #132

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions manifest/compose/database/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This compose file provides the required dependencies for
# Pterodactyl, such as MariaDB and Redis.
##
version: '2.3'
version: '3.4'
services:
##
# --MariaDB--
Expand All @@ -15,7 +15,11 @@ services:
image: docker.io/library/mariadb:10.6
env_file: ./conf.d/mariadb.env
ports:
- ${MYSQL_ADDRESS:-3306}
restart: always
- ${MYSQL_ADDRESS:-3306}
restart: on-failure
volumes:
- ./data/db:/var/lib/mysql
- ./data/db:/var/lib/mysql
healthcheck:
test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
timeout: 20s
retries: 5
4 changes: 2 additions & 2 deletions manifest/compose/database/panel.dep.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.3'
version: '3.4'
services:
##
# panel
Expand All @@ -8,4 +8,4 @@ services:
panel:
depends_on:
mysql:
condition: service_started
condition: service_healthy
4 changes: 2 additions & 2 deletions manifest/compose/panel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.3'
version: '3.4'
services:
##
# --Pterodactyl Panel--
Expand All @@ -13,7 +13,7 @@ services:
ports:
- 80:80
- 443:443
restart: always
restart: on-failure
volumes:
- ./data/panel:/data
# Enable Let's Encrypt Support
Expand Down