Added Shakespeare templating and setup basic Maybe-bound lookup for conditional rendering of the page or an appropriate notice that the password doesn't exist.
This commit is contained in:
		
							
								
								
									
										44
									
								
								examples/docker-stack.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								examples/docker-stack.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,44 @@ | ||||
| version: '3.1' | ||||
|  | ||||
| # Default Docker Stack/Compose configuration for Purr. | ||||
| # You will need to change all instances of "REPLACEME" with the appropriate details. | ||||
| # Additionally, you may want to update the host port definitions for each service and | ||||
| # remove the Mongo Express service entirely for production. | ||||
|  | ||||
| services: | ||||
|   mongodb: | ||||
|     image: mongo:4.4.6 | ||||
|     ports: | ||||
|       - 27017:27017 | ||||
|     volumes: | ||||
|       - ./data:/opt/purr/data | ||||
|     networks: | ||||
|       - webnet | ||||
|     environment: | ||||
|       MONGO_INITDB_ROOT_USERNAME: REPLACEME | ||||
|       MONGO_INITDB_ROOT_PASSWORD: REPLACEME | ||||
|  | ||||
|   mexpress: | ||||
|     image: mongo-express | ||||
|     ports: | ||||
|       - 8081:8081 | ||||
|     environment: | ||||
|       ME_CONFIG_MONGODB_ADMINUSERNAME: REPLACEME | ||||
|       ME_CONFIG_MONGODB_ADMINPASSWORD: REPLACEME | ||||
|       ME_CONFIG_MONGODB_SERVER: mongodb | ||||
|     networks: | ||||
|       - webnet | ||||
|     depends_on: | ||||
|       - mongodb | ||||
|  | ||||
|   purr:  | ||||
|     image: purr | ||||
|     ports:  | ||||
|       - 3000:3000 | ||||
|     networks: | ||||
|       - webnet | ||||
|     depends_on:  | ||||
|       - mongodb | ||||
|  | ||||
| networks: | ||||
|   webnet: | ||||
		Reference in New Issue
	
	Block a user