File structure
This commit is contained in:
6
config/nginx.txt
Normal file
6
config/nginx.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
server {
|
||||
server_name paste.plabble.org;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
}
|
||||
}
|
||||
11
config/openrc.sh
Normal file
11
config/openrc.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2022 Plabble
|
||||
|
||||
start() {
|
||||
podman rm pastabble-c || true
|
||||
podman run --name pastabble-c -p 8080:8080 -v pastabble-v:/data -dt pastabble
|
||||
}
|
||||
|
||||
stop() {
|
||||
podman stop pastabble-c
|
||||
}
|
||||
Reference in New Issue
Block a user