-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (71 loc) · 1.61 KB
/
docker-compose.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
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
version: "3"
services:
nutmeg-slackbot:
container_name: nsb
build: ./slackbot
env_file:
- env/dev.env
volumes:
- ./slackbot:/work
ports:
- 3000:3000
tty: true
command: 'python main.py'
depends_on:
- mongo
- mongo-express
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
ports:
- 27017:27017
volumes:
- ./mongo:/data/db
- ./mongo:/data/configdb
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_SERVER: mongo
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: password
ME_CONFIG_MONGODB_PORT: 27017
depends_on:
- mongo
api:
container_name: 'api'
build:
context: ./api
volumes:
- ./api:/go/src/work
ports:
- '1323:1323'
command: './start.sh'
depends_on:
- mongo
view:
build: ./view
container_name: "view"
volumes:
- ./view:/app
command: sh -c "npm install && npm run dev"
ports:
- "3001:3001"
stdin_open: true
tty: true
env_file:
- env/dev.env
environment:
NEXT_PUBLIC_SSR_API_URI: "https://relation-slack-dev-api.nutfes.net"
NEXT_PUBLIC_CSR_API_URI: "https://relation-slack-dev-api.nutfes.net"
# tunnelName: relation-slack-dev
cloudflare:
image: "cloudflare/cloudflared:latest"
container_name: "cloudflare"
volumes: ["./cloudflare/develop:/home/nonroot/.cloudflared"]
command: tunnel run