File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1- HTTP__ADDRESS = :3000 # HTTP server listen address
2- HTTP__PROXY_HEADER = X-Forwarded-For # HTTP proxy header
3- HTTP__PROXIES = 127.0.0.1 # HTTP trusted proxies
1+ HTTP__ADDRESS = :3000 # HTTP server listen address
2+ HTTP__PROXY_HEADER = X-Forwarded-For # HTTP proxy header
3+ HTTP__PROXIES = 127.0.0.1 # HTTP trusted proxies
44
5- STORAGE__URL = redis ://localhost:6379/0 # Redis URL
5+ API__CORS_ALLOW_ORIGINS = http ://localhost:3001 # CORS allow origins
66
7+ STORAGE__URL = redis://localhost:6379/0 # Redis URL
8+
9+ CSR__TTL = 24h # CSR lifetime
710CSR__CA_CERT_PATH = ./ca/ca.crt # CA certificate
811CSR__CA_KEY_PATH = ./ca/ca.key # CA private key
Original file line number Diff line number Diff line change 11services :
22 server :
3- image : " ghcr.io/android-sms-gateway/ca:latest"
3+ image : " ghcr.io/android-sms-gateway/ca-backend :latest"
44 build :
55 context : .
66 target : final
@@ -9,6 +9,10 @@ services:
99 - HTTP__PROXY_HEADER=X-Forwarded-For
1010 - HTTP__PROXIES=127.0.0.1
1111 - STORAGE__URL=redis://redis:6379/0
12+ - CSR__CA_CERT_PATH=/etc/ca/ca.crt
13+ - CSR__CA_KEY_PATH=/etc/ca/ca.key
14+ volumes :
15+ - ./ca:/etc/ca:ro
1216 ports :
1317 - 3000:3000
1418 depends_on :
You can’t perform that action at this time.
0 commit comments