Skip to content

Commit 2bc21ba

Browse files
authored
Update docker.mdx
1 parent 7efff55 commit 2bc21ba

File tree

1 file changed

+0
-53
lines changed

1 file changed

+0
-53
lines changed

docs/panel/advanced/docker.mdx

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -106,59 +106,6 @@ docker compose down -v
106106

107107
## Advanced Options
108108

109-
### Redis
110-
111-
You can deploy a Redis container in the same `compose.yml` file for easy setup. This example starts a Redis container and auto-populates the Redis configuration, cache, session and queue options in the web installer to use it.
112-
113-
Once you use the web installer, changes to the highlighted environment variables will not apply, and those lines can be deleted from the `compose.yml` file.
114-
115-
116-
```yml title="compose.yml"
117-
services:
118-
redis:
119-
image: redis:latest
120-
restart: always
121-
networks:
122-
- default
123-
124-
panel:
125-
image: ghcr.io/pelican-dev/panel:latest
126-
depends_on:
127-
- redis
128-
restart: always
129-
networks:
130-
- default
131-
ports:
132-
- "80:80"
133-
- "443:443"
134-
extra_hosts:
135-
- "host.docker.internal:host-gateway"
136-
volumes:
137-
- pelican-data:/pelican-data
138-
- pelican-logs:/var/www/html/storage/logs
139-
environment:
140-
XDG_DATA_HOME: /pelican-data
141-
# highlight-start
142-
CACHE_STORE: redis
143-
SESSION_DRIVER: redis
144-
QUEUE_CONNECTION: redis
145-
REDIS_HOST: redis
146-
REDIS_PORT: 6379
147-
# highlight-end
148-
APP_URL: "http://localhost"
149-
ADMIN_EMAIL: "USEYOUROWNEMAILHERE@example.com"
150-
151-
volumes:
152-
pelican-data:
153-
pelican-logs:
154-
155-
networks:
156-
default:
157-
ipam:
158-
config:
159-
- subnet: 172.20.0.0/16
160-
```
161-
162109
### Custom Caddyfile
163110

164111
The default Caddyfile will work for standard installations. If you need to edit the configuration of the integrated webserver, such as to place it behind a reverse proxy that terminates TLS, you can do so by bind-mounting a Caddyfile on the host to `/etc/caddy/Caddyfile` inside the container.

0 commit comments

Comments
 (0)