mirror of
https://github.com/Cameri/nostream.git
synced 2025-08-09 04:31:59 +02:00
revert: some forgotten changes in docker
This commit is contained in:
@@ -43,6 +43,7 @@ services:
|
|||||||
ipv4_address: 10.10.10.2
|
ipv4_address: 10.10.10.2
|
||||||
db:
|
db:
|
||||||
image: postgres
|
image: postgres
|
||||||
|
container_name: db
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: nostr_ts_relay
|
POSTGRES_DB: nostr_ts_relay
|
||||||
POSTGRES_USER: nostr_ts_relay
|
POSTGRES_USER: nostr_ts_relay
|
||||||
@@ -67,6 +68,7 @@ services:
|
|||||||
start_period: 360s
|
start_period: 360s
|
||||||
cache:
|
cache:
|
||||||
image: redis:7.0.5-alpine3.16
|
image: redis:7.0.5-alpine3.16
|
||||||
|
container_name: cache
|
||||||
volumes:
|
volumes:
|
||||||
- cache:/data
|
- cache:/data
|
||||||
command: redis-server --save 20 1 --loglevel warning --requirepass nostr_ts_relay
|
command: redis-server --save 20 1 --loglevel warning --requirepass nostr_ts_relay
|
||||||
@@ -81,6 +83,7 @@ services:
|
|||||||
retries: 5
|
retries: 5
|
||||||
migrations:
|
migrations:
|
||||||
image: node:18-alpine3.16
|
image: node:18-alpine3.16
|
||||||
|
container_name: migrations
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: db
|
DB_HOST: db
|
||||||
DB_PORT: 5432
|
DB_PORT: 5432
|
||||||
|
Reference in New Issue
Block a user