Skip to content

Commit

Permalink
fix: docker-compose.yml uses DB_CONNECTION: mariadb to fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
olwalkey committed Dec 29, 2024
1 parent 4cc8f6f commit 79bef1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ x-common:
#
services:
database:
image: mariadb:10.5
image: mariadb:11.7
restart: always
command: --default-authentication-plugin=mysql_native_password
volumes:
- '/srv/pterodactyl/database:/var/lib/mysql'
- '/srv/pterodactyl/database:/var/lib/mysql'
environment:
<<: *db-environment
MYSQL_DATABASE: 'panel'
Expand All @@ -48,7 +48,6 @@ services:
restart: always
ports:
- '80:80'
- '443:443'
links:
- database
- cache
Expand All @@ -66,6 +65,7 @@ services:
SESSION_DRIVER: 'redis'
QUEUE_DRIVER: 'redis'
REDIS_HOST: 'cache'
DB_CONNECTION: 'mariadb'
DB_HOST: 'database'
DB_PORT: '3306'
HASHIDS_LENGTH: 8
Expand Down

0 comments on commit 79bef1d

Please sign in to comment.