2023-11-06 10:39:27 +08:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
services:
|
|
|
|
privatebin:
|
|
|
|
container_name: privatebin
|
|
|
|
image: privatebin/unit-alpine
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Singapore
|
2024-08-11 21:41:34 +08:00
|
|
|
restart: unless-stopped
|
2023-11-06 10:39:27 +08:00
|
|
|
volumes:
|
|
|
|
- {{ docker_dir }}/privatebin/data:/srv/data
|
2024-08-11 21:41:34 +08:00
|
|
|
ports:
|
|
|
|
- 8884:8080
|
2023-11-06 10:39:27 +08:00
|
|
|
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
|
|
|
|
2024-10-05 11:47:43 +08:00
|
|
|
# sudo chown -R 65534:82 {{ docker_dir }}/privatebin/data
|