Dockerised the app
Good use of env vars now Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
parent
5fc487c705
commit
ea790a066a
2 changed files with 34 additions and 0 deletions
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
version: '3.3'
|
||||
services:
|
||||
pastebin:
|
||||
build:
|
||||
context: .
|
||||
restart: always
|
||||
container_name: pastebin
|
||||
ports:
|
||||
- 127.0.0.1:6162:6162
|
||||
environment:
|
||||
- ROCKET_PORT=6162
|
||||
- THEME=gruvbox-dark # By default, it uses the Ayu Colorscheme
|
||||
- HOST=localhost:6162 # or bin.example.com
|
||||
volumes:
|
||||
- ./upload:/app/upload # upload folder will have your pastes
|
||||
Loading…
Add table
Add a link
Reference in a new issue