-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.dev.yml
59 lines (58 loc) · 1.53 KB
/
docker-compose.dev.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
57
58
version: '3.6'
services:
dev-db:
image: postgres:15
environment:
POSTGRES_USER: patternatlas
POSTGRES_PASSWORD: patternatlas
POSTGRES_DB: patternatlas
ports:
- "5060:5432"
networks:
- default
config-server:
image: quay.io/coreos/etcd:latest
environment:
ETCD_NAME: config-node1
ETCD_CORS: "*"
ETCD_ADVERTISE_CLIENT_URLS: "http://config-server:2379"
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
ETCDCTL_API: 3
ports:
- "2379:2379"
networks:
- default
auth:
image: quay.io/keycloak/keycloak:18.0.0
command: start-dev --import-realm
volumes:
- ./keycloak_import:/opt/keycloak/data/import
environment:
KEYCLOAK_ADMIN_PASSWORD: admin
KEYCLOAK_ADMIN: admin
ports:
- "7080:8080"
# used by the pattern atlas to render latex
latex-renderer:
image: planqk/latex-renderer:v1.1.1
ports:
- "5030:5030"
pattern-atlas-ui:
image: patternatlas/pattern-atlas-ui:v1.5.3
depends_on:
- config-server
environment:
# because the requests are performed from the browser and not
# from the container itself we have to specify localhost here
# and **not** the container name
PATTERN_ATLAS_API_HOST_NAME: localhost
PATTERN_ATLAS_API_PORT: 1977
LATEX_RENDERER_HOST_NAME: localhost
LATEX_RENDERER_PORT: 5030
URL_SCHEME: http
AUTH_REALM_URL: http://localhost:7080/realms/patternatlas
ports:
- "80:80"
networks:
default:
driver: bridge