mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-06-25 11:53:34 +02:00
29 lines
569 B
YAML
29 lines
569 B
YAML
services:
|
|
# privatebin
|
|
privatebin:
|
|
image: privatebin/nginx-fpm-alpine:latest
|
|
container_name: privatebin
|
|
profiles:
|
|
- privatebin
|
|
restart: on-failure:5
|
|
depends_on:
|
|
- caddy
|
|
volumes:
|
|
- privatebin_data:/srv/data
|
|
networks:
|
|
- infra-network
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
read_only: true
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.5'
|
|
memory: 512M
|
|
reservations:
|
|
cpus: '0.001'
|
|
memory: 20M
|
|
|
|
volumes:
|
|
privatebin_data:
|
|
name: privatebin_data |