forked from felixgeelhaar/click-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (32 loc) · 746 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (32 loc) · 746 Bytes
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
version: '3.8'
services:
click-cms:
build: .
restart: unless-stopped
networks:
- easypanel
volumes:
- ./content:/var/www/html/content
- ./data:/var/www/html/data
- ./plugins:/var/www/html/plugins
environment:
- APACHE_DOCUMENT_ROOT=/var/www/html/public
# Port 80 wird intern für Traefik freigegeben,
# ohne den Port 8080 am Host zu blockieren.
labels:
- "easypanel.expose.80=true"
admin-ui-dev:
image: node:20-alpine
working_dir: /app
networks:
- easypanel
volumes:
- ./admin-ui:/app
ports:
- "3000:3000"
command: sh -c "npm install && npm run dev -- --host"
profiles:
- dev
networks:
easypanel:
external: true