Add separate storage volume
This commit is contained in:
parent
e9918816e5
commit
0f48011ff3
1 changed files with 3 additions and 17 deletions
|
@ -23,33 +23,18 @@ services:
|
||||||
- default
|
- default
|
||||||
volumes:
|
volumes:
|
||||||
- panel:/var/www/html/pterodactyl
|
- panel:/var/www/html/pterodactyl
|
||||||
|
- storage:/var/www/html/pterodactyl/storage
|
||||||
php:
|
php:
|
||||||
build:
|
build:
|
||||||
context: services/php
|
context: services/php
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- "db"
|
- "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:
|
networks:
|
||||||
- default
|
- default
|
||||||
volumes:
|
volumes:
|
||||||
- panel:/var/www/html/pterodactyl
|
- panel:/var/www/html/pterodactyl
|
||||||
|
- storage:/var/www/html/pterodactyl/storage
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
networks:
|
networks:
|
||||||
|
@ -62,3 +47,4 @@ networks:
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
panel:
|
panel:
|
||||||
|
storage:
|
||||||
|
|
Reference in a new issue