2023-11-06 10:39:27 +08:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
version: '3.7'
|
|
|
|
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
|