mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
add ability to skip starting caddy
dockerfile cmd updated to just start php-fpm entrypoint now starts caddy unless SKIP_CADDY has been set. compose file updated ports to work properly. updated networks to use the correct network. added commented port and variable to disable caddy added further notes.
This commit is contained in:
committed by
Michael (Parker) Parker
parent
4fc8d98a0f
commit
6f15537d77
12
compose.yml
12
compose.yml
@@ -1,7 +1,7 @@
|
||||
x-common:
|
||||
panel:
|
||||
&panel-environment
|
||||
APP_URL: "https://localhost"
|
||||
APP_URL: "https://localhost" # can be set to 'http://localhost' to un on port 80 only
|
||||
APP_DEBUG: "false"
|
||||
ADMIN_EMAIL: "USEYOUROWNEMAILHERE@example.com"
|
||||
|
||||
@@ -29,19 +29,23 @@ x-common:
|
||||
|
||||
services:
|
||||
panel:
|
||||
image: panel
|
||||
image: ghcr.io/pelican-dev/panel:latest
|
||||
restart: always
|
||||
networks:
|
||||
- default
|
||||
ports:
|
||||
- "80:2019"
|
||||
- "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"
|
||||
- "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:
|
||||
|
||||
Reference in New Issue
Block a user