-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 1.73 KB
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (46 loc) · 1.73 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# =============================================================================
# Acropolis — Base Infrastructure
# =============================================================================
# This file defines the shared network and Traefik reverse proxy.
# Layer community or enterprise compose files on top:
#
# Community: docker compose -f docker-compose.yml -f docker-compose.community.yml up -d
# Enterprise: docker compose -f docker-compose.yml -f docker-compose.community.yml -f docker-compose.enterprise.yml up -d
#
# Or use the CLI: ./acropolis.sh up --edition community|enterprise
# =============================================================================
services:
# ── Traefik — Reverse Proxy + Auto SSL ────────────────────────────────────
traefik:
container_name: acropolis-traefik
image: traefik:v3.3
restart: unless-stopped
command:
- --configFile=/etc/traefik/traefik.yml
ports:
- "${TRAEFIK_HTTP_PORT:-80}:80"
- "${TRAEFIK_HTTPS_PORT:-443}:443"
- "${TRAEFIK_DASHBOARD_PORT:-8090}:8080" # Dashboard (internal only)
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik/traefik.yml:/etc/traefik/traefik.yml:ro
- ./traefik/dynamic:/etc/traefik/dynamic:ro
- ./traefik/acme:/etc/traefik/acme
environment:
- TZ=${TZ:-America/New_York}
networks:
- acropolis
healthcheck:
test: ["CMD", "traefik", "healthcheck", "--ping"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
labels:
- "traefik.enable=true"
networks:
acropolis:
name: acropolis_network
driver: bridge
volumes:
traefik_acme: