-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
64 lines (58 loc) · 2.05 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
61
62
63
64
version: '3.1'
volumes:
comify-mongo-data:
comify-minio-data:
services:
mongo:
image: mongo:latest
restart: always
volumes:
- comify-mongo-data:/data/db
ports:
- "${MONGODB_PORT_NUMBER:-27017}:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGODB_ROOT_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGODB_ROOT_PASSWORD}
mongo-express:
image: mongo-express:latest
restart: always
depends_on:
- mongo
ports:
- "${MONGO_EXPRESS_PORT_NUMBER:-8081}:8081"
environment:
ME_CONFIG_BASICAUTH_USERNAME: ${MONGO_EXPRESS_USERNAME}
ME_CONFIG_BASICAUTH_PASSWORD: ${MONGO_EXPRESS_PASSWORD}
ME_CONFIG_MONGODB_ADMINUSERNAME: ${MONGODB_ROOT_USERNAME}
ME_CONFIG_MONGODB_ADMINPASSWORD: ${MONGODB_ROOT_PASSWORD}
ME_CONFIG_MONGODB_URL: "mongodb://${MONGODB_ROOT_USERNAME}:${MONGODB_ROOT_PASSWORD}@mongo:27017/"
minio:
image: minio/minio:latest
restart: always
volumes:
- comify-minio-data:/data
ports:
- "${MINIO_PORT_NUMBER:-9000}:9000"
- "${MINIO_ADMIN_PORT_NUMBER:-9001}:9001"
environment:
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
command: server --console-address ":9001" /data
keycloak:
image: quay.io/keycloak/keycloak:latest
restart: always
volumes:
- "${KEYCLOAK_IMPORT_PATH}:/opt/keycloak/data/import"
- "${KEYCLOAK_THEME_PATH}:/opt/keycloak/themes"
ports:
- "${KEYCLOAK_PORT_NUMBER:-8080}:8080"
environment:
KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN_USERNAME}
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
KEYCLOAK_GITHUB_CLIENT_ID: ${KEYCLOAK_GITHUB_CLIENT_ID}
KEYCLOAK_GITHUB_CLIENT_SECRET: ${KEYCLOAK_GITHUB_CLIENT_SECRET}
KEYCLOAK_GOOGLE_CLIENT_ID: ${KEYCLOAK_GOOGLE_CLIENT_ID}
KEYCLOAK_GOOGLE_CLIENT_SECRET: ${KEYCLOAK_GOOGLE_CLIENT_SECRET}
KEYCLOAK_LINKEDIN_CLIENT_ID: ${KEYCLOAK_LINKEDIN_CLIENT_ID}
KEYCLOAK_LINKEDIN_CLIENT_SECRET: ${KEYCLOAK_LINKEDIN_CLIENT_SECRET}
command: start-dev --import-realm