generated from tktcorporation/.github
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
31 lines (31 loc) · 939 Bytes
/
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
services:
app:
build:
context: .
dockerfile: ./docker/Dockerfile
target: dev-env
working_dir: /workspace
# sleep
command: bash -c "while true; do sleep 1; done"
environment:
- USER=$USER
- DISCORD_TOKEN=$DISCORD_TOKEN
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- AWS_REGION=$AWS_REGION
- DISCORD_CMD_PREFIX=${DISCORD_CMD_PREFIX:-!}
- HEROKU_API_KEY=$HEROKU_API_KEY
- HEROKU_APP_NAME=$HEROKU_APP_NAME
volumes:
- .:/workspace:cached
- /var/run/docker.sock:/var/run/docker.sock:rw
# rust
- /cargo-cache:/usr/local/cargo/registry:cached
tty: true
# heroku:
# # run `apk add docker` before running heroku commands
# image: sue445/heroku-cli
# working_dir: /workspace
# volumes:
# - .:/workspace:cached
# - /var/run/docker.sock:/var/run/docker.sock:rw