Merge pull request #37 from krumIO/configuration/database-env
This commit is contained in:
		
							
								
								
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
 | 
			
		||||
 | 
			
		||||
# .env file
 | 
			
		||||
.env
 | 
			
		||||
@ -30,7 +30,7 @@ Make sure you have `docker` & `docker-compose` installed on the server / system.
 | 
			
		||||
    cd calendso-docker
 | 
			
		||||
    ```
 | 
			
		||||
 | 
			
		||||
3. Update `.env` if needed
 | 
			
		||||
3. Rename `.env.example` to `.env` and update `.env` if needed.
 | 
			
		||||
 | 
			
		||||
4. Build and start calendso
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,6 +16,8 @@ services:
 | 
			
		||||
      - 3000:3000
 | 
			
		||||
      - 5555:5555
 | 
			
		||||
    env_file: .env
 | 
			
		||||
    environment:
 | 
			
		||||
      - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
 | 
			
		||||
    depends_on:
 | 
			
		||||
      - db
 | 
			
		||||
volumes:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user