-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (51 loc) · 1.13 KB
/
docker-compose.yml
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
51
52
53
54
55
56
---
version: '3.7'
services:
proxy:
container_name: goap_proxy
image: nginx:1.25.2-alpine
volumes:
- ./dev/nginx/nginx_default.conf:/etc/nginx/conf.d/default.conf:cached
ports:
- 127.0.0.1:80:80
keycloak:
container_name: goap_oidc_provider
image: quay.io/keycloak/keycloak:22.0.3
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
volumes:
- ./dev/keycloak:/opt/keycloak/data/import
command: ["start-dev", "--import-realm"]
expose:
- 8080
ports:
- 8080:8080
oidc_auth_proxy:
container_name: goap_auth
build:
target: builder
env_file:
- '.env'
- '.env-secret'
command: make run/oidc-auth-proxy
expose:
- 8080
volumes:
- ./:/app:cached
- ./custom_template_example.tmpl:/tmp/template.tmpl
working_dir: /app
depends_on:
- keycloak
example_service:
container_name: goap_example-service
build:
target: builder
command: make run/example-service
expose:
- 8080
volumes:
- ./:/app:cached
working_dir: /app
depends_on:
- keycloak