![Gunwant Jain](/assets/img/avatar_default.png)
As a consquence of better UX, '/' post handler will now redirect instead of returning a String. Signed-off-by: Gunwant Jain <mail@wantguns.dev>
14 lines
342 B
YAML
14 lines
342 B
YAML
version: '3.3'
|
|
services:
|
|
pastebin:
|
|
build: .
|
|
# image: wantguns/bin
|
|
container_name: pastebin
|
|
ports:
|
|
- 127.0.0.1:6162:6162
|
|
environment:
|
|
- ROCKET_PORT=6162 # Port the app uses
|
|
- HOST_URL=localhost:6162 # or bin.example.com
|
|
volumes:
|
|
- ./upload:/app/upload # upload folder will have your pastes
|