22 lines
458 B
Django/Jinja
22 lines
458 B
Django/Jinja
# {{ ansible_managed }}
|
|
services:
|
|
privatebin:
|
|
container_name: privatebin
|
|
image: privatebin/unit-alpine
|
|
security_opt:
|
|
- no-new-privileges
|
|
environment:
|
|
- TZ=Asia/Singapore
|
|
restart: unless-stopped
|
|
volumes:
|
|
- {{ docker_dir }}/privatebin/data:/srv/data
|
|
ports:
|
|
- 8884:8080
|
|
networks:
|
|
- privatebin
|
|
|
|
networks:
|
|
privatebin:
|
|
name: privatebin
|
|
|
|
# sudo chown -R 65534:82 {{ docker_dir }}/privatebin/data |