forked from pelican/panel
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose-bind.yml
More file actions
52 lines (48 loc) · 1.6 KB
/
Copy pathcompose-bind.yml
File metadata and controls
52 lines (48 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
x-common:
panel:
&panel-environment
APP_URL: "http://localhost"
LE_EMAIL: "USEYOUROWNEMAILHERE@example.com" # email to be used for let's encrypt certificates
APP_DEBUG: "false"
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
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:
user: "0:0"
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
# - "9000:9000" # enable when not using caddy to be able to reach php-fpm
extra_hosts:
- "host.docker.internal:host-gateway" # shows the panel on the internal docker network as well. usually '172.17.0.1'
volumes:
- /opt/pelican/data:/pelican-data
- /opt/pelican/logs:/var/www/html/storage/logs
- /opt/pelican/plugins:/var/www/html/plugins
environment:
<<: [*panel-environment, *mail-environment]
XDG_DATA_HOME: /pelican-data
# SKIP_CADDY: true # enable when not using caddy.