forked from ErugoOSS/Erugo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 947 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (32 loc) · 947 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
services:
app:
build:
context: './docker/dev'
dockerfile: Dockerfile
image: 'erugo-dev/app'
ports:
- '${APP_PORT:-80}:80'
- '${VITE_PORT:-5173}:5173'
environment:
SUPERVISOR_PHP_USER: 'erugo'
VITE_DEV_HOST: '192.168.0.24'
volumes:
- '.:/var/www/html'
# Use named volumes for platform-specific dependencies
# This prevents macOS node_modules from conflicting with Linux
- node_modules:/var/www/html/node_modules
- vendor:/var/www/html/vendor
# SQLite database in named volume to support WAL mode properly
- database:/var/www/html/storage/database
networks:
- erugo
networks:
erugo:
driver: bridge
volumes:
node_modules:
driver: local
vendor:
driver: local
database:
driver: local