mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
add minimal.docker-compose.yml example (#252)
This commit is contained in:
parent
ef1a5da22a
commit
7015be1355
1 changed files with 12 additions and 0 deletions
12
minimal.docker-compose.yml
Normal file
12
minimal.docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
services:
|
||||||
|
dpaste:
|
||||||
|
container_name: dpaste
|
||||||
|
image: darrenofficial/dpaste:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
DATABASE_URL: sqlite:////db/dpaste.sqlite
|
||||||
|
PORT: 8000
|
||||||
|
volumes:
|
||||||
|
- ./data/db:/db
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
Loading…
Reference in a new issue