mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 07:43:33 +00:00 
			
		
		
		
	Fix to postgres 17
This commit is contained in:
		| @@ -1,17 +1,16 @@ | ||||
| # WARNING: This is a CI docker-compose file used for building and testing of the entire app, it should not be used for production. | ||||
| services: | ||||
|  | ||||
|   cypress: | ||||
|     environment: | ||||
|       CYPRESS_stack: 'postgres' | ||||
|       CYPRESS_stack: "postgres" | ||||
|  | ||||
|   fullstack: | ||||
|     environment: | ||||
|       DB_POSTGRES_HOST: 'db-postgres' | ||||
|       DB_POSTGRES_PORT: '5432' | ||||
|       DB_POSTGRES_USER: 'npm' | ||||
|       DB_POSTGRES_PASSWORD: 'npmpass' | ||||
|       DB_POSTGRES_NAME: 'npm' | ||||
|       DB_POSTGRES_HOST: "db-postgres" | ||||
|       DB_POSTGRES_PORT: "5432" | ||||
|       DB_POSTGRES_USER: "npm" | ||||
|       DB_POSTGRES_PASSWORD: "npmpass" | ||||
|       DB_POSTGRES_NAME: "npm" | ||||
|     depends_on: | ||||
|       - db-postgres | ||||
|       - authentik | ||||
| @@ -19,11 +18,11 @@ services: | ||||
|       - authentik-ldap | ||||
|  | ||||
|   db-postgres: | ||||
|     image: postgres:latest | ||||
|     image: postgres:17 | ||||
|     environment: | ||||
|       POSTGRES_USER: 'npm' | ||||
|       POSTGRES_PASSWORD: 'npmpass' | ||||
|       POSTGRES_DB: 'npm' | ||||
|       POSTGRES_USER: "npm" | ||||
|       POSTGRES_PASSWORD: "npmpass" | ||||
|       POSTGRES_DB: "npm" | ||||
|     volumes: | ||||
|       - psql_vol:/var/lib/postgresql/data | ||||
|       - ./ci/postgres:/docker-entrypoint-initdb.d | ||||
| @@ -31,11 +30,11 @@ services: | ||||
|       - fulltest | ||||
|  | ||||
|   authentik-redis: | ||||
|     image: 'redis:alpine' | ||||
|     image: "redis:alpine" | ||||
|     command: --save 60 1 --loglevel warning | ||||
|     restart: unless-stopped | ||||
|     healthcheck: | ||||
|       test: ['CMD-SHELL', 'redis-cli ping | grep PONG'] | ||||
|       test: ["CMD-SHELL", "redis-cli ping | grep PONG"] | ||||
|       start_period: 20s | ||||
|       interval: 30s | ||||
|       retries: 5 | ||||
| @@ -66,9 +65,9 @@ services: | ||||
|   authentik-ldap: | ||||
|     image: ghcr.io/goauthentik/ldap:2024.10.1 | ||||
|     environment: | ||||
|       AUTHENTIK_HOST: 'http://authentik:9000' | ||||
|       AUTHENTIK_INSECURE: 'true' | ||||
|       AUTHENTIK_TOKEN: 'wKYZuRcI0ETtb8vWzMCr04oNbhrQUUICy89hSpDln1OEKLjiNEuQ51044Vkp' | ||||
|       AUTHENTIK_HOST: "http://authentik:9000" | ||||
|       AUTHENTIK_INSECURE: "true" | ||||
|       AUTHENTIK_TOKEN: "wKYZuRcI0ETtb8vWzMCr04oNbhrQUUICy89hSpDln1OEKLjiNEuQ51044Vkp" | ||||
|     restart: unless-stopped | ||||
|     depends_on: | ||||
|       - authentik | ||||
|   | ||||
| @@ -79,7 +79,7 @@ services: | ||||
|       - "/etc/localtime:/etc/localtime:ro" | ||||
|  | ||||
|   db-postgres: | ||||
|     image: postgres:latest | ||||
|     image: postgres:17 | ||||
|     container_name: npm2dev.db-postgres | ||||
|     networks: | ||||
|       - nginx_proxy_manager | ||||
|   | ||||
| @@ -135,7 +135,7 @@ services: | ||||
|       - db | ||||
|  | ||||
|   db: | ||||
|     image: postgres:latest | ||||
|     image: postgres:17 | ||||
|     environment: | ||||
|       POSTGRES_USER: 'npm' | ||||
|       POSTGRES_PASSWORD: 'npmpass' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user