mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore: comments in docker-compose file (#9812)
This commit is contained in:
		
							parent
							
								
									a22f5d0201
								
							
						
					
					
						commit
						60562ad0b0
					
				@ -1,6 +1,5 @@
 | 
				
			|||||||
# This docker compose setup configures:
 | 
					# This docker compose setup configures:
 | 
				
			||||||
# - the Unleash server instance + the necessary backing Postgres database
 | 
					# - the Unleash server instance + the necessary backing Postgres database
 | 
				
			||||||
# - the Unleash proxy
 | 
					 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# To learn more about all the parts of Unleash, visit
 | 
					# To learn more about all the parts of Unleash, visit
 | 
				
			||||||
# https://docs.getunleash.io
 | 
					# https://docs.getunleash.io
 | 
				
			||||||
@ -24,16 +23,11 @@ services:
 | 
				
			|||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      # This points Unleash to its backing database (defined in the `db` section below)
 | 
					      # This points Unleash to its backing database (defined in the `db` section below)
 | 
				
			||||||
      DATABASE_URL: "postgres://postgres:unleash@db/db"
 | 
					      DATABASE_URL: "postgres://postgres:unleash@db/db"
 | 
				
			||||||
      # Disable SSL for database connections. @chriswk: why do we do this?
 | 
					 | 
				
			||||||
      DATABASE_SSL: "false"
 | 
					      DATABASE_SSL: "false"
 | 
				
			||||||
      # Changing log levels:
 | 
					      # Changing log levels:
 | 
				
			||||||
      LOG_LEVEL: "warn"
 | 
					      LOG_LEVEL: "warn"
 | 
				
			||||||
      # Proxy clients must use one of these keys to connect to the
 | 
					 | 
				
			||||||
      # Proxy. To add more keys, separate them with a comma (`key1,key2`).
 | 
					 | 
				
			||||||
      INIT_FRONTEND_API_TOKENS: "default:development.unleash-insecure-frontend-api-token"
 | 
					      INIT_FRONTEND_API_TOKENS: "default:development.unleash-insecure-frontend-api-token"
 | 
				
			||||||
      # Initialize Unleash with a default set of client API tokens. To
 | 
					      # The default API token is insecure and should not be used in production.
 | 
				
			||||||
      # initialize Unleash with multiple tokens, separate them with a
 | 
					 | 
				
			||||||
      # comma (`token1,token2`).
 | 
					 | 
				
			||||||
      INIT_CLIENT_API_TOKENS: "default:development.unleash-insecure-api-token"
 | 
					      INIT_CLIENT_API_TOKENS: "default:development.unleash-insecure-api-token"
 | 
				
			||||||
    depends_on:
 | 
					    depends_on:
 | 
				
			||||||
      db:
 | 
					      db:
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,5 @@
 | 
				
			|||||||
# This docker compose setup configures:
 | 
					# This docker compose setup configures:
 | 
				
			||||||
# - the Unleash server instance + the necessary backing Postgres database
 | 
					# - the Unleash server instance + the necessary backing Postgres database
 | 
				
			||||||
# - the Unleash proxy
 | 
					 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# To learn more about all the parts of Unleash, visit
 | 
					# To learn more about all the parts of Unleash, visit
 | 
				
			||||||
# https://docs.getunleash.io
 | 
					# https://docs.getunleash.io
 | 
				
			||||||
@ -24,16 +23,12 @@ services:
 | 
				
			|||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      # This points Unleash to its backing database (defined in the `db` section below)
 | 
					      # This points Unleash to its backing database (defined in the `db` section below)
 | 
				
			||||||
      DATABASE_URL: "postgres://postgres:unleash@db/db"
 | 
					      DATABASE_URL: "postgres://postgres:unleash@db/db"
 | 
				
			||||||
      # Disable SSL for database connections. @chriswk: why do we do this?
 | 
					      # Disable SSL for database connections.
 | 
				
			||||||
      DATABASE_SSL: "false"
 | 
					      DATABASE_SSL: "false"
 | 
				
			||||||
      # Changing log levels:
 | 
					      # Changing log levels:
 | 
				
			||||||
      LOG_LEVEL: "warn"
 | 
					      LOG_LEVEL: "warn"
 | 
				
			||||||
      # Proxy clients must use one of these keys to connect to the
 | 
					 | 
				
			||||||
      # Proxy. To add more keys, separate them with a comma (`key1,key2`).
 | 
					 | 
				
			||||||
      INIT_FRONTEND_API_TOKENS: "default:development.unleash-insecure-frontend-api-token"
 | 
					      INIT_FRONTEND_API_TOKENS: "default:development.unleash-insecure-frontend-api-token"
 | 
				
			||||||
      # Initialize Unleash with a default set of client API tokens. To
 | 
					      # The default API token is insecure and should not be used in production.
 | 
				
			||||||
      # initialize Unleash with multiple tokens, separate them with a
 | 
					 | 
				
			||||||
      # comma (`token1,token2`).
 | 
					 | 
				
			||||||
      INIT_CLIENT_API_TOKENS: "default:development.unleash-insecure-api-token"
 | 
					      INIT_CLIENT_API_TOKENS: "default:development.unleash-insecure-api-token"
 | 
				
			||||||
    depends_on:
 | 
					    depends_on:
 | 
				
			||||||
      db:
 | 
					      db:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user