-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 856 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (28 loc) · 856 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
version: "3"
services:
authserver:
image: "golang:1.11"
ports:
- "5001:5001"
command: "go run main.go"
working_dir: "/go/src/github.com/chartmuseum/auth-server-example/authserver"
volumes:
- "./authserver:/go/src/github.com/chartmuseum/auth-server-example/authserver:ro"
- "./config:/go/src/github.com/chartmuseum/auth-server-example/config:ro"
chartmuseum:
image: "chartmuseum/chartmuseum:latest"
ports:
- "8080:8080"
environment:
- "DEBUG=1"
- "DEPTH=2"
- "ALLOW_OVERWRITE=1"
- "STORAGE=local"
- "STORAGE_LOCAL_ROOTDIR=/charts"
- "BEARER_AUTH=1"
- "AUTH_REALM=http://localhost:5001/oauth/token"
- "AUTH_SERVICE=localhost:5001"
- "AUTH_CERT_PATH=/config/server.pem"
volumes:
- "./config:/config:ro"
- "./charts:/charts:rw"