From 0f48011ff37a924812dd707ab339c5bd9bcfd9d6 Mon Sep 17 00:00:00 2001 From: Michael Nguyen Date: Sat, 17 Feb 2018 22:11:14 -0800 Subject: [PATCH] Add separate storage volume --- .docker-compose.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.docker-compose.yml b/.docker-compose.yml index 232b8f1..e9e1379 100644 --- a/.docker-compose.yml +++ b/.docker-compose.yml @@ -23,33 +23,18 @@ services: - default volumes: - panel:/var/www/html/pterodactyl + - storage:/var/www/html/pterodactyl/storage php: build: context: services/php dockerfile: Dockerfile depends_on: - "db" - environment: - - "author=" - - "url=" - - "timezone=" # See http://php.net/manual/en/timezones.php for timezones. - - "driver=" # smtp, mail, mailgun, mandrill, postmark - - "panel_email=" # Required for all. - - "email_name=" # Required for all. Spaces require quotes. - - "email_encryption=" # Required for all. - - "email_username=" # Required for smtp, mandrill, mailgun, and postmark. - - "email_password=" # Required for smtp. - - "email_domain=" # Required for smtp and mailgun. - - "email_port=" # Required for smtp. - - "admin_email=" - - "admin_first=" - - "admin_last=" - - "admin_password=" # Passwords for the user must include mixed case, at least one number, and at least 8 characters. - - "admin_username=" networks: - default volumes: - panel:/var/www/html/pterodactyl + - storage:/var/www/html/pterodactyl/storage redis: image: redis:alpine networks: @@ -62,3 +47,4 @@ networks: volumes: db: panel: + storage: