Skip to content

Commit 1a117a2

Browse files
committed
Fix to postgres 17
1 parent c303b69 commit 1a117a2

File tree

3 files changed

+17
-18
lines changed

3 files changed

+17
-18
lines changed

docker/docker-compose.ci.postgres.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,40 @@
11
# WARNING: This is a CI docker-compose file used for building and testing of the entire app, it should not be used for production.
22
services:
3-
43
cypress:
54
environment:
6-
CYPRESS_stack: 'postgres'
5+
CYPRESS_stack: "postgres"
76

87
fullstack:
98
environment:
10-
DB_POSTGRES_HOST: 'db-postgres'
11-
DB_POSTGRES_PORT: '5432'
12-
DB_POSTGRES_USER: 'npm'
13-
DB_POSTGRES_PASSWORD: 'npmpass'
14-
DB_POSTGRES_NAME: 'npm'
9+
DB_POSTGRES_HOST: "db-postgres"
10+
DB_POSTGRES_PORT: "5432"
11+
DB_POSTGRES_USER: "npm"
12+
DB_POSTGRES_PASSWORD: "npmpass"
13+
DB_POSTGRES_NAME: "npm"
1514
depends_on:
1615
- db-postgres
1716
- authentik
1817
- authentik-worker
1918
- authentik-ldap
2019

2120
db-postgres:
22-
image: postgres:latest
21+
image: postgres:17
2322
environment:
24-
POSTGRES_USER: 'npm'
25-
POSTGRES_PASSWORD: 'npmpass'
26-
POSTGRES_DB: 'npm'
23+
POSTGRES_USER: "npm"
24+
POSTGRES_PASSWORD: "npmpass"
25+
POSTGRES_DB: "npm"
2726
volumes:
2827
- psql_vol:/var/lib/postgresql/data
2928
- ./ci/postgres:/docker-entrypoint-initdb.d
3029
networks:
3130
- fulltest
3231

3332
authentik-redis:
34-
image: 'redis:alpine'
33+
image: "redis:alpine"
3534
command: --save 60 1 --loglevel warning
3635
restart: unless-stopped
3736
healthcheck:
38-
test: ['CMD-SHELL', 'redis-cli ping | grep PONG']
37+
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
3938
start_period: 20s
4039
interval: 30s
4140
retries: 5
@@ -66,9 +65,9 @@ services:
6665
authentik-ldap:
6766
image: ghcr.io/goauthentik/ldap:2024.10.1
6867
environment:
69-
AUTHENTIK_HOST: 'http://authentik:9000'
70-
AUTHENTIK_INSECURE: 'true'
71-
AUTHENTIK_TOKEN: 'wKYZuRcI0ETtb8vWzMCr04oNbhrQUUICy89hSpDln1OEKLjiNEuQ51044Vkp'
68+
AUTHENTIK_HOST: "http://authentik:9000"
69+
AUTHENTIK_INSECURE: "true"
70+
AUTHENTIK_TOKEN: "wKYZuRcI0ETtb8vWzMCr04oNbhrQUUICy89hSpDln1OEKLjiNEuQ51044Vkp"
7271
restart: unless-stopped
7372
depends_on:
7473
- authentik

docker/docker-compose.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ services:
7979
- "/etc/localtime:/etc/localtime:ro"
8080

8181
db-postgres:
82-
image: postgres:latest
82+
image: postgres:17
8383
container_name: npm2dev.db-postgres
8484
networks:
8585
- nginx_proxy_manager

docs/src/setup/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ services:
135135
- db
136136
137137
db:
138-
image: postgres:latest
138+
image: postgres:17
139139
environment:
140140
POSTGRES_USER: 'npm'
141141
POSTGRES_PASSWORD: 'npmpass'

0 commit comments

Comments
 (0)