-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
31 lines (29 loc) · 949 Bytes
/
docker-compose.override.yml
File metadata and controls
31 lines (29 loc) · 949 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
# Purpose:
# - Local dev/testing convenience for Traefik.
# - Keep production compose unchanged.
#
# Load behavior:
# - Docker Compose loads this file automatically together with docker-compose.yml
# when you run commands like `docker compose up`.
#
# What this file changes vs base compose:
# - Traefik runs in dev mode (HTTP only + dashboard on :8080).
# - `deeploy` service is disabled here (server runs via `go run ./cmd/server` in dev).
#
# Important:
# - `command` replaces the base command entirely, so required runtime flags stay here.
services:
traefik:
command:
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=deeploy"
- "--entrypoints.web.address=:80"
- "--providers.file.directory=/traefik/dynamic"
- "--providers.file.watch=true"
- "--api.insecure=true"
ports:
- "8080:8080"
deeploy:
profiles:
- prod-only