Browse Source

chore: add the nostr-rs-relay to the docker compose (#522)

imwald
Daniel Vergara 6 months ago committed by GitHub
parent
commit
b8bdd4ac5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 44
      docker-compose.dev.yml
  2. 6
      docker-compose.yml

44
docker-compose.dev.yml

@ -0,0 +1,44 @@
services:
jumble:
container_name: jumble-nginx
build:
context: .
dockerfile: Dockerfile
args:
VITE_PROXY_SERVER: ${JUMBLE_PROXY_SERVER_URL:-http://localhost:8090}
ports:
- "8089:80"
restart: unless-stopped
networks:
- jumble
proxy-server:
image: ghcr.io/danvergara/jumble-proxy-server:latest
environment:
- ALLOW_ORIGIN=${JUMBLE_SOCIAL_URL:-http://localhost:8089}
- JUMBLE_PROXY_GITHUB_TOKEN=${JUMBLE_PROXY_GITHUB_TOKEN}
- ENABLE_PPROF=true
- PORT=8080
ports:
- "8090:8080"
networks:
- jumble
nostr-relay:
image: scsibug/nostr-rs-relay:latest
container_name: jumble-nostr-relay
ports:
- "7000:8080"
environment:
- RUST_LOG=warn,nostr_rs_relay=info
volumes:
- relay-data:/usr/src/app/db
networks:
- jumble
restart: unless-stopped
volumes:
relay-data:
networks:
jumble:

6
docker-compose.yml

@ -7,12 +7,12 @@ services:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
VITE_PROXY_SERVER: ${JUMBLE_PROXY_SERVER_URL:-http://localhost:8090} VITE_PROXY_SERVER: ${JUMBLE_PROXY_SERVER_URL:-http://localhost:8090}
ports: ports:
- "8089:80" - "8089:80"
restart: unless-stopped restart: unless-stopped
networks: networks:
- jumble - jumble
proxy-server: proxy-server:
image: ghcr.io/danvergara/jumble-proxy-server:latest image: ghcr.io/danvergara/jumble-proxy-server:latest
@ -24,7 +24,7 @@ services:
ports: ports:
- "8090:8080" - "8090:8080"
networks: networks:
- jumble - jumble
networks: networks:
jumble: jumble:

Loading…
Cancel
Save