Skip to content

Commit

Permalink
add docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
hails committed Mar 21, 2020
1 parent 1de2040 commit 5fcdc6b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: "3.7"
services:
database:
image: postgres:12.2-alpine
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: tuga
ports:
- 5432:5432

bot:
build: .
command: cargo run
volumes:
- .:/app
- target:/app/target
depends_on:
- database
env_file:
- .env

volumes:
target:

0 comments on commit 5fcdc6b

Please sign in to comment.