forked from itsumura-h/nim-basolato
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
47 lines (44 loc) · 1013 Bytes
/
docker-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
version: '3'
services:
redis:
image: redis:alpine
tty: true
depends_on:
- app
app:
build:
context: .
dockerfile: ./docker/nim/Dockerfile
tty: true
ports:
- 9000:5000
volumes:
- .:/root/project
frontend:
build:
context: .
dockerfile: ./docker/frontend/Dockerfile
tty: true
ports:
- 3000:3000
volumes:
- ./examples/todo_app/frontend:/root/project
tfb-database-my:
image: mariadb
tty: true
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: hello_world
MYSQL_USER: benchmarkdbuser
MYSQL_PASSWORD: benchmarkdbpass
TZ: Asia/Tokyo
default_authentication_plugin: mysql_native_password
tfb-database-pg:
image: postgres:alpine
tty: true
environment:
POSTGRES_DB: hello_world
POSTGRES_USER: benchmarkdbuser
POSTGRES_PASSWORD: benchmarkdbpass
TZ: Asia/Tokyo