Files
panel/compose.yml

61 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2024-06-11 19:17:48 -04:00
x-common:
panel:
&panel-environment
APP_URL: "http://localhost"
LE_EMAIL: "USEYOUROWNEMAILHERE@example.com" # email to be used for let's encrypt certificates
2024-09-27 15:32:31 -04:00
APP_DEBUG: "false"
2024-06-16 13:20:20 -04:00
APP_ENV: "production"
# BEHIND_PROXY: true # uncomment to run behind a proxy
# TRUSTED_PROXIES: 127.0.0.1,172.17.0.1,172.20.0.1 # defaults are for local proxies
2024-06-11 19:17:48 -04:00
mail:
&mail-environment
MAIL_DRIVER: "log"
# MAIL_HOST: ""
# MAIL_PORT: ""
# MAIL_FROM: ""
# MAIL_USERNAME: ""
# MAIL_PASSWORD: ""
# MAIL_SCHEME: ""
2024-06-11 19:17:48 -04:00
#
# ------------------------------------------------------------------------------------------
# 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: unless-stopped
networks:
- default
ports:
- "80:80"
- "443:443"
# - "81:80" # if you are behind a proxy uncomment this line and comment out 80 and 443
2025-03-27 10:46:40 +01:00
# - "9000:9000" # enable when not using caddy to be able to reach php-fpm
2024-06-11 19:17:48 -04:00
extra_hosts:
2025-03-27 10:46:40 +01:00
- "host.docker.internal:host-gateway" # shows the panel on the internal docker network as well. usually '172.17.0.1'
2024-06-11 19:17:48 -04:00
volumes:
- pelican-data:/pelican-data
- pelican-logs:/var/www/html/storage/logs
2024-06-11 19:17:48 -04:00
environment:
<<: [*panel-environment, *mail-environment]
XDG_DATA_HOME: /pelican-data
# SKIP_CADDY: true # enable when not using caddy.
2024-06-11 19:17:48 -04:00
volumes:
pelican-data:
pelican-logs:
2024-06-11 19:17:48 -04:00
networks:
default:
ipam:
config:
- subnet: 172.20.0.0/16