-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathcompose.yaml
90 lines (82 loc) · 1.77 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
services:
redis:
image: redis:alpine
tty: true
redis-admin:
image: rediscommander/redis-commander:latest
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- 8081:8081
depends_on:
- redis
# app-alpine:
# build: ./docker/nim/alpine
# tty: true
# ports:
# - 9000:8000
# volumes:
# - .:/root/project
app-ubuntu:
build:
context: .
dockerfile: ./docker/nim/ubuntu/Dockerfile
args:
NIM_VERSION: 2.2.0
tty: true
ports:
- 8000:8000
volumes:
- .:/root/project
# app-debian:
# build:
# context: .
# dockerfile: ./docker/nim/debian/Dockerfile
# args:
# VERSION: 1.6.10
# tty: true
# ports:
# - 9000:8000
# volumes:
# - .:/root/project
# app-centos:
# build:
# context: .
# dockerfile:./docker/nim/centos
# args:
# VERSION: 1.6.8
# tty: true
# privileged: true
# ports:
# - 9003:8000
# volumes:
# - .:/root/project
# frontend:
# build:
# context: .
# dockerfile: ./docker/frontend/Dockerfile
# args:
# VERSION: 1.6.8
# tty: true
# ports:
# - 3000:3000
# volumes:
# - ./examples/todo_app.bk/frontend:/root/project
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
default_authentication_plugin: mysql_native_password
postgreDb:
image: postgres:alpine
tty: true
environment:
POSTGRES_DB: database
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
command: postgres -c 'max_connections=2000'