websocket done, api needs rebuild
This commit is contained in:
parent
5c3a9a1888
commit
50c4ac387a
13 changed files with 192 additions and 195 deletions
|
@ -3,14 +3,6 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:alpine
|
||||
command: redis-server --save "" --appendonly no
|
||||
container_name: redis
|
||||
restart: always
|
||||
ports:
|
||||
- 6379:6379
|
||||
|
||||
tsdb:
|
||||
image: timescale/timescaledb:latest-pg14
|
||||
environment:
|
||||
|
@ -29,15 +21,27 @@ services:
|
|||
- tsdb
|
||||
restart: always
|
||||
environment:
|
||||
DATABASE_ADDR: postgres://saerrouser:saerro321@tsdb:$TSDB_PORT/data
|
||||
DATABASE_ADDR: postgres://saerrouser:saerro321@tsdb:5432/data
|
||||
|
||||
ws:
|
||||
image: ghcr.io/genudine/saerro/websocket:latest
|
||||
pull_policy: always
|
||||
restart: always
|
||||
ports:
|
||||
- 8999:8999
|
||||
environment:
|
||||
DATABASE_ADDR: postgres://saerrouser:saerro321@tsdb:$TSDB_PORT/data
|
||||
WS_ADDR: wss://push.nanite-systems.net/streaming?environment=ps2&service-id=s:saegd
|
||||
DATABASE_ADDR: postgres://saerrouser:saerro321@tsdb:5432/data
|
||||
WS_ADDR: wss://push.nanite-systems.net/streaming?environment=all&service-id=s:saegd
|
||||
WORLDS: all
|
||||
links:
|
||||
- tsdb
|
||||
|
||||
prune:
|
||||
image: ghcr.io/genudine/saerro/tasks:latest
|
||||
command: prune
|
||||
pull_policy: always
|
||||
restart: "no"
|
||||
environment:
|
||||
DATABASE_ADDR: postgres://saerrouser:saerro321@tsdb:5432/data
|
||||
links:
|
||||
- tsdb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue