-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcompose.test.yaml
65 lines (60 loc) · 1.51 KB
/
compose.test.yaml
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
65
services:
app-ubuntu-v1:
build:
context: .
dockerfile: ./docker/ubuntu/test.Dockerfile
args:
NIM_VERSION: 1.6.20
tty: true
volumes:
- .:/root/project
depends_on:
- postgres
- mysql
- mariadb
- surreal
app-ubuntu-v2:
build:
context: .
dockerfile: ./docker/ubuntu/test.Dockerfile
args:
NIM_VERSION: 2.2.0
tty: true
volumes:
- .:/root/project
depends_on:
- postgres
- mysql
- mariadb
- surreal
mysql:
image: mysql:8
tty: true
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: database
MYSQL_USER: user
MYSQL_PASSWORD: pass
mariadb:
image: mariadb
tty: true
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: database
MYSQL_USER: user
MYSQL_PASSWORD: pass
postgres:
image: postgres:alpine
tty: true
environment:
POSTGRES_DB: database
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
surreal:
image: surrealdb/surrealdb:1.0.0-beta.9
tty: true
# command: start --log TRACE --user user --pass pass memory # like redis
# command: start --log TRACE --user user --pass pass file://root/.surrealdb # like mongo
command: start --strict --log TRACE --user user --pass pass memory # like in-memory sqlite
# command: start --strict --log TRACE --user user --pass pass file://root/.surrealdb # like rdb