build(docker): setup Dockerfile, docker-compose and .env
This commit is contained in:
parent
a30bda9de3
commit
8ffd8a7f0f
5 changed files with 45 additions and 0 deletions
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
services:
|
||||
bot:
|
||||
build: .
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./tmp:/app/config
|
||||
depends_on:
|
||||
- redis
|
||||
- postgres
|
||||
redis:
|
||||
image: redis:alpine
|
||||
postgres:
|
||||
image: postgres:alpine
|
||||
env_file:
|
||||
- .env
|
Loading…
Add table
Add a link
Reference in a new issue