-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker_databases.yml
51 lines (49 loc) · 1.33 KB
/
docker_databases.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
version: "3"
# volumes:
# mysql_data:
# driver: local
services:
mysql:
image: mysql:5.7
volumes:
# - mysql_data:/var/lib/mysql
- ./data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: keycloak
MYSQL_USER: keycloak
MYSQL_PASSWORD: password
keycloak:
image: quay.io/keycloak/keycloak
environment:
DB_VENDOR: MYSQL
DB_ADDR: mysql
DB_DATABASE: keycloak
DB_USER: keycloak
DB_PASSWORD: password
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: Pa55w0rd
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
# Uncomment the line below if you want to specify JDBC parameters. The parameter below is just an example, and it shouldn't be used in production without knowledge. It is highly recommended that you read the MySQL JDBC driver documentation in order to use it.
#JDBC_PARAMS: "connectTimeout=30000"
ports:
- 8081:8080
depends_on:
- mysql
command:
- start-dev
mongo:
image: mongo:7.0.4
environment:
- MONGO_INITDB_ROOT_USERNAME=${MONGOUSER}
- MONGO_INITDB_ROOT_PASSWORD=${MONGOPASSWORD}
volumes:
- ./mongodb:/data/db
ports:
- 127.0.0.1:27017:27017
redis:
image: redis:7.2.3
container_name: llm-redis
ports:
- 127.0.0.1:6379:6379