Setup: Add env file and delete docker-compose.yml
This commit is contained in:
		
							parent
							
								
									81f6539165
								
							
						
					
					
						commit
						ac594ba31d
					
				
							
								
								
									
										1
									
								
								.env
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.env
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| MONGO_URL=mongodb://mongo:27017/fosscord?readPreference=secondaryPreferred | ||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -69,7 +69,6 @@ typings/ | ||||
| .yarn-integrity | ||||
| 
 | ||||
| # dotenv environment variables file | ||||
| .env | ||||
| .env.test | ||||
| 
 | ||||
| # parcel-bundler cache (https://parceljs.org/) | ||||
|  | ||||
| @ -1,20 +0,0 @@ | ||||
| version: "3" | ||||
| services: | ||||
|     fosscord-gateway: | ||||
|         container_name: fosscord-gateway | ||||
|         restart: always | ||||
|         build: . | ||||
|         ports: | ||||
|             - "3002:3002" | ||||
|         links: | ||||
|             - mongo | ||||
|         env_file: .env | ||||
|     mongo: | ||||
|         container_name: mongo | ||||
|         image: mongo | ||||
|         volumes: | ||||
|             - ./data:/data/db | ||||
|             - ./.docker/mongodb/mongod.conf:/etc/mongod.conf | ||||
|         ports: | ||||
|             - "27017:27017" | ||||
|         command: ["-f", "/etc/mongod.conf"] | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Diego Magdaleno
						Diego Magdaleno