-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
29 lines (28 loc) · 908 Bytes
/
docker-compose.dev.yml
File metadata and controls
29 lines (28 loc) · 908 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
version: '3.8'
# Alternative development configuration with more debugging options
services:
rogueletters:
build: .
container_name: rogueletters-dev
ports:
- "8086:80"
volumes:
# Mount entire project directory for easier development
- .:/usr/local/apache2/project
# Override specific locations
- ./index.html:/usr/local/apache2/htdocs/index.html
- ./script.js:/usr/local/apache2/htdocs/script.js
- ./styles.css:/usr/local/apache2/htdocs/styles.css
- ./cgi-bin:/usr/local/apache2/cgi-bin
- ./data:/usr/local/apache2/data
- ./httpd.conf:/usr/local/apache2/conf/httpd.conf
restart: unless-stopped
environment:
- PYTHONUNBUFFERED=1
- CGITB_ENABLE=1
- DEBUG=1
command: >
sh -c "
echo 'Starting RogueLetters development server with enhanced debugging...' &&
httpd-foreground
"