chore(docker): add docker-compose.yml

This commit is contained in:
orhun 2021-07-25 14:48:11 +03:00
parent 763b956a17
commit 94d6ec2100
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90

15
docker-compose.yml Normal file
View File

@ -0,0 +1,15 @@
version: "3.6"
services:
server:
image: orhunp/rustypaste:${IMAGE_TAG:-latest}
build: .
container_name: rustypaste
restart: always
environment:
- RUST_LOG=debug
env_file:
- ./.env
ports:
- "8000:8000"
volumes:
- ./upload/:/app/upload