updated docker-compose.yml (#25)

Co-authored-by: Steve Hay <developer@stevenhay.com>
pull/26/head
Steve Hay 2 years ago committed by GitHub
parent c14625b26e
commit c20830e502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,26 @@
services:
pastey:
image: cesura/pastey:latest
environment:
PASTEY_WORKERS: 2
PASTEY_THREADS: 4
PASTEY_LISTEN_PORT: 7778
PASTEY_DEFAULT_THEME: Dark
PASTEY_BEHIND_PROXY: "true"
PASTEY_FORCE_SHOW_RECENT: "true"
PASTEY_RESTRICT_PASTING: "true"
PASTEY_WHITELIST_CIDR: "127.0.0.1/32,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
PASTEY_RECENT_PASTES: 20
volumes:
- "pastey-data:/app/data"
ports:
- "5000:5000"
restart: unless-stopped
networks:
- pastey-network
volumes:
pastey-data:
pastey-data:
networks:
pastey-network: {}

Loading…
Cancel
Save