-
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) · 1002 Bytes
/
docker-compose.yml
File metadata and controls
50 lines (46 loc) · 1002 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
# Caddy reverse proxy with automatic HTTPS
caddy:
image: caddy:2-alpine
container_name: ocp-caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
environment:
- DOMAIN=${DOMAIN:-localhost}
networks:
- ocp-network
depends_on:
- hugo-site
- registry-api
# Hugo static site
hugo-site:
image: ghcr.io/opencontextprotocol/ocp-spec:latest
container_name: ocp-hugo-site
restart: unless-stopped
networks:
- ocp-network
expose:
- "80"
# Registry API
registry-api:
image: ghcr.io/opencontextprotocol/ocp-registry:latest
container_name: ocp-registry-api
restart: unless-stopped
networks:
- ocp-network
expose:
- "8000"
environment:
- PYTHONUNBUFFERED=1
networks:
ocp-network:
driver: bridge
volumes:
caddy_data:
caddy_config: