-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
26 lines (25 loc) · 1.38 KB
/
docker-compose.override.yml
File metadata and controls
26 lines (25 loc) · 1.38 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
# Docker Compose override for development
# This file is automatically merged with docker-compose.yml when running docker compose
# It adds volume mounts for live code reloading during development
services:
adblock-compiler:
volumes:
# Mount source code for live reloading
- ./src:/app/src
- ./worker:/app/worker
- ./public:/app/public
# Optional: mount frontend source when developing the Angular app inside Docker.
# Note: the Worker serves built assets from /app/frontend/dist inside the container.
# If you run `ng build --watch` on the host, you must ALSO mount ./frontend/dist
# into /app/frontend/dist (see the commented volume below) so wrangler sees updates.
- ./frontend/src:/app/frontend/src
# To mount the built assets directly from the host (required for host-side `ng build --watch`):
# - ./frontend/dist:/app/frontend/dist
# Add development secrets here (or use .env.local with env_file).
# Example (uncomment and fill in your actual values):
# environment:
# - ADMIN_KEY=your_admin_key_here
# - TURNSTILE_SECRET_KEY=your_turnstile_secret_here
# - DIRECT_DATABASE_URL=your_database_url_here
# - PRISMA_DATABASE_URL=your_prisma_url_here
# - OPTIMIZE_API_KEY=your_optimize_key_here