mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 12:42:09 +00:00 
			
		
		
		
	Enforce a container_name and rename the postgres container
This commit is contained in:
		| @@ -4,6 +4,7 @@ version: "3" | ||||
| services: | ||||
|  | ||||
|   invidious: | ||||
|     container_name: invidious | ||||
|     build: | ||||
|       context: . | ||||
|       dockerfile: docker/Dockerfile | ||||
| @@ -19,7 +20,7 @@ services: | ||||
|           dbname: invidious | ||||
|           user: kemal | ||||
|           password: kemal | ||||
|           host: invidious-postgres | ||||
|           host: invidious-db | ||||
|           port: 5432 | ||||
|         check_tables: true | ||||
|         # external_port: | ||||
| @@ -32,9 +33,10 @@ services: | ||||
|       timeout: 5s | ||||
|       retries: 2 | ||||
|     depends_on: | ||||
|       - invidious-postgres | ||||
|       - invidious-db | ||||
|  | ||||
|   invidious-postgres: | ||||
|   invidious-db: | ||||
|     container_name: invidious-db | ||||
|     image: postgres:14-alpine | ||||
|     restart: unless-stopped | ||||
|     volumes: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 TheFrenchGhosty
					TheFrenchGhosty