You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	add nostream
This commit is contained in:
		| @@ -407,6 +407,7 @@ A collection of delicious docker recipes. | ||||
| - [x] outlinewiki/outline | ||||
| - [x] gabekangas/owncast | ||||
| - [x] owncloud | ||||
| - [x] jorijn/nostream | ||||
| - [x] chocobozzz/peertube | ||||
| - [x] dpage/pgadmin4 | ||||
| - [x] viktorstrate/photoview | ||||
|   | ||||
							
								
								
									
										17
									
								
								nostream/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								nostream/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| nostream | ||||
| ======== | ||||
|  | ||||
| [Nostream][1] is a nostr relay, written in Typescript. | ||||
|  | ||||
| ## Up and Running | ||||
|  | ||||
| ```bash | ||||
| $ mkdir -p data/{nostream,redis,postgres} | ||||
| $ cd data/nostream | ||||
| $ wget https://github.com/Cameri/nostream/raw/main/resources/default-settings.yaml -O settings.yaml | ||||
| $ vim settings.yaml | ||||
| $ docker-compose up -d | ||||
| $ curl http://127.0.0.1:8008 | ||||
| ``` | ||||
|  | ||||
| [1]: https://github.com/Cameri/nostream | ||||
							
								
								
									
										41
									
								
								nostream/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								nostream/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| version: "3.8" | ||||
|  | ||||
| services: | ||||
|  | ||||
|   nostream: | ||||
|     image: jorijn/nostream:v1.19.0 | ||||
|     ports: | ||||
|       - "8008:8008" | ||||
|     volumes: | ||||
|       - ./data/nostream:/app/etc | ||||
|     environment: | ||||
|       - NOSTR_CONFIG_DIR=/app/etc | ||||
|       - RELAY_PORT=8008 | ||||
|       - SECRET=hackme | ||||
|       - DB_URI=postgresql://nostream:nostream@postgres:5432/nostream | ||||
|       # REDIS_URI=redis://default:nostream@redis:6379 | ||||
|       - REDIS_HOST=redis | ||||
|       - REDIS_PORT=6379 | ||||
|       - REDIS_USER=default | ||||
|       - REDIS_PASSWORD=nostream | ||||
|     depends_on: | ||||
|       - redis | ||||
|       - postgres | ||||
|     restart: unless-stopped | ||||
|  | ||||
|   redis: | ||||
|     image: redis:6-alpine | ||||
|     command: --save 900 1 --requirepass nostream | ||||
|     volumes: | ||||
|       - ./data/redis:/data | ||||
|     restart: unless-stopped | ||||
|  | ||||
|   postgres: | ||||
|     image: postgres:14-alpine | ||||
|     volumes: | ||||
|       - ./data/postgres:/var/lib/postgresql/data | ||||
|     environment: | ||||
|       - POSTGRES_USER=nostream | ||||
|       - POSTGRES_PASSWORD=nostream | ||||
|       - POSTGRES_DB=nostream | ||||
|     restart: unless-stopped | ||||
		Reference in New Issue
	
	Block a user