-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 957 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: "3"
services:
pastebin:
build: .
ports:
- "8080:8080"
environment:
PASTEBIN_HOST: "0.0.0.0"
PASTEBIN_PORT: "8080"
PASTEBIN_S3_ENDPOINT: "s3:5553"
PASTEBIN_S3_REGION: "us-east-1"
PASTEBIN_S3_BUCKET: "pastebin"
PASTEBIN_S3_USE_SSL: "false"
PASTEBIN_S3_ACCESS_KEY: "pastebin-access-key"
PASTEBIN_S3_SECRET_KEY: "pastebin-secret-key"
PASTEBIN_CLEANUP_INTERVAL: "1h"
PASTEBIN_MAX_PASTE_SIZE: "1048576"
PASTEBIN_DEFAULT_TTL: "1y"
PASTEBIN_LOG_FORMAT: "text"
PASTEBIN_LOG_LEVEL: "info"
depends_on:
- s3
restart: unless-stopped
s3:
image: ghcr.io/espebra/stupid-simple-s3:latest
environment:
STUPID_BUCKET_NAME: "pastebin"
STUPID_RW_ACCESS_KEY: "pastebin-access-key"
STUPID_RW_SECRET_KEY: "pastebin-secret-key"
volumes:
- s3-data:/var/lib/stupid-simple-s3
restart: unless-stopped
volumes:
s3-data: