-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcompose.yaml
71 lines (65 loc) · 1.57 KB
/
compose.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
66
67
68
69
70
71
services:
app-ubuntu:
build:
context: .
dockerfile: ./docker/ubuntu/Dockerfile
args:
# VERSION: 1.6.14
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
adminer:
image: adminer:4.8.1-standalone
tty: true
ports:
- 9001:8080
depends_on:
- mysql
- mariadb
- postgres
adminer-sqlite:
build: ./docker/adminer
tty: true
ports:
- 9002:8080
volumes:
- ./:/app
depends_on:
- app-ubuntu