|
1 | 1 | # WARNING: This is a CI docker-compose file used for building and testing of the entire app, it should not be used for production. |
2 | 2 | services: |
3 | | - |
4 | 3 | cypress: |
5 | 4 | environment: |
6 | | - CYPRESS_stack: 'postgres' |
| 5 | + CYPRESS_stack: "postgres" |
7 | 6 |
|
8 | 7 | fullstack: |
9 | 8 | 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" |
15 | 14 | depends_on: |
16 | 15 | - db-postgres |
17 | 16 | - authentik |
18 | 17 | - authentik-worker |
19 | 18 | - authentik-ldap |
20 | 19 |
|
21 | 20 | db-postgres: |
22 | | - image: postgres:latest |
| 21 | + image: postgres:17 |
23 | 22 | 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" |
27 | 26 | volumes: |
28 | 27 | - psql_vol:/var/lib/postgresql/data |
29 | 28 | - ./ci/postgres:/docker-entrypoint-initdb.d |
30 | 29 | networks: |
31 | 30 | - fulltest |
32 | 31 |
|
33 | 32 | authentik-redis: |
34 | | - image: 'redis:alpine' |
| 33 | + image: "redis:alpine" |
35 | 34 | command: --save 60 1 --loglevel warning |
36 | 35 | restart: unless-stopped |
37 | 36 | healthcheck: |
38 | | - test: ['CMD-SHELL', 'redis-cli ping | grep PONG'] |
| 37 | + test: ["CMD-SHELL", "redis-cli ping | grep PONG"] |
39 | 38 | start_period: 20s |
40 | 39 | interval: 30s |
41 | 40 | retries: 5 |
@@ -66,9 +65,9 @@ services: |
66 | 65 | authentik-ldap: |
67 | 66 | image: ghcr.io/goauthentik/ldap:2024.10.1 |
68 | 67 | 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" |
72 | 71 | restart: unless-stopped |
73 | 72 | depends_on: |
74 | 73 | - authentik |
|
0 commit comments