revert: some forgotten changes in docker

This commit is contained in:
juanAngel
2022-12-25 02:58:41 +01:00
parent 3731d03230
commit d8c5c26f32

View File

@@ -43,6 +43,7 @@ services:
ipv4_address: 10.10.10.2
db:
image: postgres
container_name: db
environment:
POSTGRES_DB: nostr_ts_relay
POSTGRES_USER: nostr_ts_relay
@@ -67,6 +68,7 @@ services:
start_period: 360s
cache:
image: redis:7.0.5-alpine3.16
container_name: cache
volumes:
- cache:/data
command: redis-server --save 20 1 --loglevel warning --requirepass nostr_ts_relay
@@ -81,6 +83,7 @@ services:
retries: 5
migrations:
image: node:18-alpine3.16
container_name: migrations
environment:
DB_HOST: db
DB_PORT: 5432