|
11 | 11 | "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", |
12 | 12 | "#3": "", |
13 | 13 | "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", |
14 | | - "#5": "DATABASE_URL=\"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7&charset=utf8mb4\"", |
15 | | - "DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8" |
| 14 | + "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"", |
| 15 | + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=14&charset=utf8" |
16 | 16 | }, |
17 | 17 | "dockerfile": [ |
18 | 18 | "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", |
|
24 | 24 | "docker-compose.yml": { |
25 | 25 | "services": [ |
26 | 26 | "database:", |
27 | | - " image: postgres:${POSTGRES_VERSION:-13}-alpine", |
| 27 | + " image: postgres:${POSTGRES_VERSION:-14}-alpine", |
28 | 28 | " environment:", |
29 | 29 | " POSTGRES_DB: ${POSTGRES_DB:-app}", |
30 | 30 | " # You should definitely change the password in production", |
31 | | - " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}", |
32 | | - " POSTGRES_USER: ${POSTGRES_USER:-symfony}", |
| 31 | + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}", |
| 32 | + " POSTGRES_USER: ${POSTGRES_USER:-app}", |
33 | 33 | " volumes:", |
34 | 34 | " - db-data:/var/lib/postgresql/data:rw", |
35 | 35 | " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", |
|
0 commit comments