4 Commits

Author SHA1 Message Date
14c24ad398 Update .drone.yml
All checks were successful
continuous-integration/drone Build is passing
2025-03-02 05:16:22 +00:00
f80651a09e bugfix: privatebin directorybot should be disallowed unless pb_public_directory is set to true 2025-02-24 14:24:56 -05:00
f529804276 bugfix: privatebin directorybot should be disallowed unless pb_public_directory is set to true 2025-02-24 14:20:21 -05:00
386611540c Update README.md 2025-02-23 07:14:20 +00:00
4 changed files with 10 additions and 8 deletions

View File

@ -6,7 +6,7 @@ steps:
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: example_com # UPDATE ME
stack: privatebin
generate_secrets: true
purge: true
deploy_key:
@ -14,9 +14,11 @@ steps:
networks:
- proxy
environment:
DOMAIN: example.swarm-test.autonomic.zone # UPDATE ME
STACK_NAME: example_com # UPDATE ME
DOMAIN: paste.swarm-test.autonomic.zone
STACK_NAME: privatebin
LETS_ENCRYPT_ENV: production
PB_PHP_CONFIG_VERSION: v1
PB_ROBOTS_VERSION: v2
trigger:
branch:
- main

View File

@ -5,8 +5,8 @@
<!-- metadata -->
* **Category**: Apps
* **Status**: wip
* **Image**: [`privatebin`](https://hub.docker.com/r/privatebin), 4, upstream
* **Status**: 1
* **Image**: [`privatebin`](https://hub.docker.com/r/privatebin/nginx-fpm-alpine), 4, upstream
* **Healthcheck**: Yes
* **Backups**: No
* **Email**: N/A

View File

@ -1,2 +1,2 @@
export PB_PHP_CONFIG_VERSION=v1
export PB_ROBOTS_VERSION=v1
export PB_ROBOTS_VERSION=v2

View File

@ -2,7 +2,7 @@ User-agent: *
Disallow: /
{{ if eq (env "PB_PUBLIC_DIRECTORY") "true" }}
{{ else }}
User-agent: PrivateBinDirectoryBot
Disallow: /
{{ else }}
{{ end }}
{{ end }}