mirror of
https://github.com/pelican-dev/panel.git
synced 2025-03-14 09:57:36 +00:00
* Convert route options to fluent methods Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods. * Slim `lang` files * Shift core files * Validate via object directly within Controllers * Use `Gate` facade for controller authorization * Dispatch jobs directly * Remove base controller inheritance * Default config files In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used. * Set new `ENV` variables * Add new Laravel `composer run dev` script * Add `storage/app/private` folder * Bump Composer dependencies * Convert `$casts` property to method * Adopt Laravel type hints * Shift cleanup * Apply suggestions from code review Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com> * Add old key as backup * Update composer * Remove extra line * Update this --------- Co-authored-by: Shift <shift@laravelshift.com> Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
x-common:
|
|
panel:
|
|
&panel-environment
|
|
APP_URL: "https://localhost" # can be set to 'http://localhost' on port 80 only
|
|
ADMIN_EMAIL: "USEYOUROWNEMAILHERE@example.com"
|
|
|
|
APP_DEBUG: "false"
|
|
APP_ENV: "production"
|
|
|
|
mail:
|
|
&mail-environment
|
|
MAIL_DRIVER: "log"
|
|
# MAIL_HOST: ""
|
|
# MAIL_PORT: ""
|
|
# MAIL_FROM: ""
|
|
# MAIL_USERNAME: ""
|
|
# MAIL_PASSWORD: ""
|
|
# MAIL_SCHEME: ""
|
|
|
|
#
|
|
# ------------------------------------------------------------------------------------------
|
|
# DANGER ZONE BELOW
|
|
#
|
|
# The remainder of this file likely does not need to be changed. Please only make modifications
|
|
# below if you understand what you are doing.
|
|
#
|
|
|
|
services:
|
|
panel:
|
|
image: ghcr.io/pelican-dev/panel:latest
|
|
build: .
|
|
restart: always
|
|
networks:
|
|
- default
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
# - "9000:9000" # enable when not using caddy to be abel to reach php-fpm
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway" # shows the panel on te internal docker network as well. usually '172.17.0.1'
|
|
volumes:
|
|
- pelican-data:/pelican-data
|
|
- pelican-logs:/var/www/html/storage/logs
|
|
environment:
|
|
<<: [*panel-environment, *mail-environment]
|
|
XDG_DATA_HOME: /pelican-data
|
|
# SKIP_CADDY: true # enable when not using caddy.
|
|
|
|
volumes:
|
|
pelican-data:
|
|
pelican-logs:
|
|
|
|
networks:
|
|
default:
|
|
ipam:
|
|
config:
|
|
- subnet: 172.20.0.0/16
|