forked from shinjuku-mokumoku/shinjuku-mokumoku
/
docker-compose.yaml
36 lines (33 loc) · 879 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
version: "3"
services:
pitch:
image: store/gitpitch/desktop:pro
volumes:
- ./:/repo
ports:
- 9000:9000
functions:
build:
context: ./functions
environment:
SLACK_API_TOKEN: ${SLACK_API_TOKEN}
SLACK_SLASH_TOKEN_PREPARE: ${SLACK_SLASH_TOKEN_PREPARE}
SLACK_SLASH_TOKEN_PRESENTER: ${SLACK_SLASH_TOKEN_PRESENTER}
FIREBASE_CONFIG: /root/.config/gcloud/application_default_credentials.json
volumes:
- ./:/app
- $HOME/.config/gcloud:/root/.config/gcloud:ro
- functions_node_modules:/app/functions/node_modules
scripts:
build:
context: ./scripts
environment:
GITHUB_API_TOKEN: ${GITHUB_API_TOKEN}
volumes:
- ./:/app
- scripts_node_modules:/app/scripts/node_modules
volumes:
scripts_node_modules:
driver: local
functions_node_modules:
driver: local