mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 20:09:48 -05:00
chore(docker): add docker-compose.yml
This commit is contained in:
parent
763b956a17
commit
94d6ec2100
1 changed files with 15 additions and 0 deletions
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal 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
|
Loading…
Reference in a new issue