24 lines
469 B
Plaintext
24 lines
469 B
Plaintext
|
# {{ 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:
|
||
|
- IPv4
|
||
|
|
||
|
networks:
|
||
|
IPv4:
|
||
|
external:
|
||
|
name: IPv4
|
||
|
|
||
|
# sudo chown 65534:82 {{ docker_dir }}/privatebin/data
|