fix: AP Ports

This commit is contained in:
DrMxrcy
2024-11-13 02:47:30 -05:00
parent deeea11428
commit e57efa2e31
2 changed files with 4 additions and 0 deletions

View File

@@ -16,7 +16,9 @@ services:
- AP_POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}
- AP_POSTGRES_USERNAME=${AP_POSTGRES_USERNAME}
- AP_POSTGRES_HOST=postgres
- AP_POSTGRES_PORT=5432
- AP_REDIS_HOST=redis
- AP_REDIS_PORT=6379
postgres:
image: postgres:14.4

View File

@@ -24,6 +24,8 @@ export function generate(schema: Schema): Template {
`AP_POSTGRES_DATABASE=${postgresDb}`,
`AP_POSTGRES_PASSWORD=${postgresPassword}`,
`AP_POSTGRES_USERNAME=${postgresUser}`,
`AP_POSTGRES_PORT=5432`,
`AP_REDIS_PORT=6379`,
];
return {