-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
60 lines (60 loc) · 1.5 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
57
58
59
60
version: '3'
services:
db:
image: postgres
restart: always
environment:
POSTGRES_DB: bc
POSTGRES_USER: bc
POSTGRES_PASSWORD: bc
volumes:
- ./pg.sql:/docker-entrypoint-initdb.d/pg.sql
nodejs:
image: neuralegion/brokencrystals
restart: always
logging:
options:
max-file: "5"
max-size: "10m"
depends_on:
- db
- keycloak
brokencrystals.local:
image: neuralegion/brokencrystals-proxy-http
restart: always
depends_on:
- nodejs
repeater:
image: neuralegion/repeater:latest
restart: always
environment:
REPEATER_TOKEN: $NEXPLOIT_TOKEN
REPEATER_AGENT: $REPEATER
DEBUG: nexploit-cli
keycloak-db:
image: "postgres:12.2-alpine"
environment:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: password
restart: on-failure
stdin_open: true
tty: true
volumes:
- "./keycloak/db:/var/lib/postgresql/data/"
keycloak:
image: jboss/keycloak:latest
volumes:
- "./keycloak/imports/realm-export.json:/opt/jboss/keycloak/imports/realm-export.json"
environment:
DB_VENDOR: POSTGRES
DB_ADDR: keycloak-db
DB_DATABASE: keycloak
DB_USER: keycloak
DB_SCHEMA: public
DB_PASSWORD: password
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: Pa55w0rd
KEYCLOAK_IMPORT: /opt/jboss/keycloak/imports/realm-export.json -Dkeycloak.profile.feature.upload_scripts=enabled
depends_on:
- keycloak-db