2023-11-06 10:39:27 +08:00
|
|
|
# {{ ansible_managed }}
|
2024-06-09 10:12:32 +08:00
|
|
|
version: "3.8"
|
2023-11-06 10:39:27 +08:00
|
|
|
services:
|
|
|
|
privatebin:
|
|
|
|
container_name: privatebin
|
|
|
|
image: privatebin/unit-alpine
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Singapore
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 8884:8080
|
|
|
|
volumes:
|
|
|
|
- {{ docker_dir }}/privatebin/data:/srv/data
|
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
- privatebin
|
2023-11-06 10:39:27 +08:00
|
|
|
|
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
privatebin:
|
|
|
|
name: privatebin
|
2023-11-06 10:39:27 +08:00
|
|
|
|
2023-11-11 21:29:49 +08:00
|
|
|
# sudo chown -R 65534:82 {{ docker_dir }}/privatebin/data
|