From c20830e502be94dd9ee77dd88e74ff5d1155fb94 Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Wed, 31 Aug 2022 10:02:38 -0400 Subject: [PATCH] updated docker-compose.yml (#25) Co-authored-by: Steve Hay --- docker-compose.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 964dd19..33eaf53 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: \ No newline at end of file + pastey-data: + +networks: + pastey-network: {}