initial working setup
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					venv
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										25
									
								
								compose.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								compose.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					services:
 | 
				
			||||||
 | 
					  ns:
 | 
				
			||||||
 | 
					    container_name: natss
 | 
				
			||||||
 | 
					    image: nats:alpine
 | 
				
			||||||
 | 
					    networks:
 | 
				
			||||||
 | 
					      - natsnet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  nca:
 | 
				
			||||||
 | 
					    stdin_open: true
 | 
				
			||||||
 | 
					    tty: true
 | 
				
			||||||
 | 
					    build:
 | 
				
			||||||
 | 
					      context: ncli
 | 
				
			||||||
 | 
					    networks:
 | 
				
			||||||
 | 
					      - natsnet
 | 
				
			||||||
 | 
					  ncb:
 | 
				
			||||||
 | 
					    stdin_open: true
 | 
				
			||||||
 | 
					    tty: true
 | 
				
			||||||
 | 
					    build:
 | 
				
			||||||
 | 
					      context: ncli
 | 
				
			||||||
 | 
					    networks:
 | 
				
			||||||
 | 
					      - natsnet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					networks:
 | 
				
			||||||
 | 
					  natsnet:
 | 
				
			||||||
 | 
					    name: nn
 | 
				
			||||||
							
								
								
									
										5
									
								
								ncli/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								ncli/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					FROM golang:alpine
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN go install github.com/nats-io/natscli/nats@latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENTRYPOINT ["/bin/ash"]
 | 
				
			||||||
		Reference in New Issue
	
	Block a user