Add listen to docker-compose.yml, README instructions
This commit is contained in:
parent
7f78830ea8
commit
4ee297c045
|
@ -2,6 +2,7 @@ DATA_MOUNT_PATH=/mnt/storage
|
|||
CERTIFICATE_PATH=/example/server.crt
|
||||
KEYPAIR_PATH=/example/server.key
|
||||
|
||||
LISTEN=:7777
|
||||
TRUSTED_KEYS=
|
||||
|
||||
# Leave empty to disable
|
||||
|
|
14
README.md
14
README.md
|
@ -8,4 +8,16 @@ Needs a Postgres database.
|
|||
|
||||
`$ go run .`
|
||||
|
||||
Build via `$ go build -o orbeat`
|
||||
Build via `$ go build -o orbeat`
|
||||
|
||||
### Certbot notes
|
||||
* Use pip certbot
|
||||
* Edit .env to add paths to certificates
|
||||
|
||||
```
|
||||
$ certbot certonly \
|
||||
--standalone \
|
||||
--key-type=ecdsa --elliptic-curve=secp256r1 \
|
||||
--domain <domain> \
|
||||
--post-hook "docker restart orbitalbeat_orbeat_1"
|
||||
```
|
|
@ -57,10 +57,11 @@ services:
|
|||
-connstr "user=orbeat password=orbeat dbname=orbeat sslmode=disable host=db"
|
||||
-sni "${SNI}"
|
||||
-trusted_keys "${TRUSTED_KEYS}"
|
||||
-listen "${LISTEN}"
|
||||
tmpfs:
|
||||
- /tmp
|
||||
ports:
|
||||
- 7777:7777
|
||||
- "${LISTEN}:${LISTEN}"
|
||||
srg:
|
||||
image: srg
|
||||
build: https://git.gammaspectra.live/S.O.N.G/SynchRoGazer.git#master
|
||||
|
|
Loading…
Reference in a new issue