23 lines
474 B
Django/Jinja
23 lines
474 B
Django/Jinja
# {{ ansible_managed }}
|
|
version: "3.8"
|
|
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:
|
|
- privatebin
|
|
|
|
networks:
|
|
privatebin:
|
|
name: privatebin
|
|
|
|
# sudo chown -R 65534:82 {{ docker_dir }}/privatebin/data |