-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (31 loc) · 897 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (31 loc) · 897 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
version: '3.8'
# TLS Enabled
# volumes:
# switcherapi-tls:
# driver: local
# driver_opts:
# o: bind
# type: none
# device: "/data/certs"
services:
app:
image: trackerforce/switcher-searchdocs:latest
container_name: switcher-searchdocs
command: ["run", "--allow-net", "--allow-env", "--allow-read", "index.ts"]
ports:
- 4000:4000
environment:
- APP_PORT=4000
- RELEASE_TIME=today
# - SSL_CERT=/etc/ssl/certs/tls.crt
# - SSL_KEY=/etc/ssl/certs/tls.pem
- APP_RATE_LIMIT=10
- APP_RATE_LIMIT_WINDOW=3000
- LOG_LEVEL=INFO # DEBUG, INFO, ERROR
# Skimming Global Settings
- APP_URL=https://raw.githubusercontent.com/petruki/skimming/master/
- APP_FILES=README.md
- APP_CACHE_EXP_DURATION=5
- APP_CACHE_SIZE=100
# volumes:
# - switcherapi-tls:/etc/ssl/certs