Skip to content

Commit 2eb56a3

Browse files
committed
fix: change docker compose options
1 parent a1c106e commit 2eb56a3

File tree

10 files changed

+25
-25
lines changed

10 files changed

+25
-25
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: write
1313
packages: write
1414
env:
15-
MY_DASHBOARD_DATABASE_POSTGRES_URL: "postgres://postgres:pgtoolspassword@localhost:5432/postgres?schema=public"
15+
MY_DASHBOARD_DATABASE_POSTGRES_URL: "postgres://postgres:mydashboardpassword@localhost:5432/postgres?schema=public"
1616

1717
steps:
1818
- name: Checkout repository

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ docker-compose up -d
4747

4848
This will start a PostgreSQL database with the following configuration:
4949
- Username: `postgres`
50-
- Password: `pgtoolspassword`
50+
- Password: `mydashboardpassword`
5151
- Database: `postgres`
5252
- Port: `5432` (mapped to localhost:5432)
5353

@@ -56,7 +56,7 @@ This will start a PostgreSQL database with the following configuration:
5656
After starting the database, add the following to your `web/.env` file:
5757

5858
```
59-
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:pgtoolspassword@localhost:5432/postgres
59+
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:mydashboardpassword@localhost:5432/postgres
6060
```
6161

6262
### Stopping the Database
@@ -70,7 +70,7 @@ docker-compose down
7070

7171
### Database Persistence
7272

73-
The database data is persisted in a Docker volume named `pg-tools-postgre-sql-volume`. This means your data will be preserved between container restarts.
73+
The database data is persisted in a Docker volume named `my-dashboard-sql-volume`. This means your data will be preserved between container restarts.
7474

7575
To completely remove the data, you can remove the volume:
7676

README_RU.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ docker-compose up -d
4747

4848
Это запустит базу данных PostgreSQL со следующей конфигурацией:
4949
- Имя пользователя: `postgres`
50-
- Пароль: `pgtoolspassword`
50+
- Пароль: `mydashboardpassword`
5151
- База данных: `postgres`
5252
- Порт: `5432` (сопоставлен с localhost:5432)
5353

@@ -56,7 +56,7 @@ docker-compose up -d
5656
После запуска базы данных добавьте следующее в ваш файл `web/.env`:
5757

5858
```
59-
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:pgtoolspassword@localhost:5432/postgres
59+
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:mydashboardpassword@localhost:5432/postgres
6060
```
6161

6262
### Остановка базы данных
@@ -70,7 +70,7 @@ docker-compose down
7070

7171
### Сохранение данных базы данных
7272

73-
Данные базы данных сохраняются в томе Docker с именем `pg-tools-postgre-sql-volume`. Это означает, что ваши данные будут сохраняться между перезапусками контейнеров.
73+
Данные базы данных сохраняются в томе Docker с именем `my-dashboard-sql-volume`. Это означает, что ваши данные будут сохраняться между перезапусками контейнеров.
7474

7575
Чтобы полностью удалить данные, вы можете удалить том:
7676

mobile/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Ilshat Khamitov <[email protected]>",
66
"scripts": {
77
"ng": "ng",
8-
"start": "ng serve",
8+
"start": "ionic serve",
99
"build": "ng build",
1010
"watch": "ng build --watch --configuration development",
1111
"test": "ng test",

web/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ docker-compose up -d
4444

4545
This will start a PostgreSQL database with the following configuration:
4646
- Username: `postgres`
47-
- Password: `pgtoolspassword`
47+
- Password: `mydashboardpassword`
4848
- Database: `postgres`
4949
- Port: `5432` (mapped to localhost:5432)
5050

@@ -53,7 +53,7 @@ This will start a PostgreSQL database with the following configuration:
5353
After starting the database, add the following to your `.env` file:
5454

5555
```
56-
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:pgtoolspassword@localhost:5432/postgres
56+
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:mydashboardpassword@localhost:5432/postgres
5757
```
5858

5959
### Stopping the Database
@@ -66,7 +66,7 @@ docker-compose down
6666

6767
### Database Persistence
6868

69-
The database data is persisted in a Docker volume named `pg-tools-postgre-sql-volume`. This means your data will be preserved between container restarts.
69+
The database data is persisted in a Docker volume named `my-dashboard-sql-volume`. This means your data will be preserved between container restarts.
7070

7171
To completely remove the data, you can remove the volume:
7272

web/README_RU.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ docker-compose up -d
5454

5555
Это запустит базу данных PostgreSQL со следующей конфигурацией:
5656
- Имя пользователя: `postgres`
57-
- Пароль: `pgtoolspassword`
57+
- Пароль: `mydashboardpassword`
5858
- База данных: `postgres`
5959
- Порт: `5432` (сопоставлен с localhost:5432)
6060

@@ -63,7 +63,7 @@ docker-compose up -d
6363
После запуска базы данных добавьте следующее в ваш файл `.env`:
6464

6565
```
66-
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:pgtoolspassword@localhost:5432/postgres
66+
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:mydashboardpassword@localhost:5432/postgres
6767
```
6868

6969
### Остановка базы данных
@@ -76,7 +76,7 @@ docker-compose down
7676

7777
### Сохранение данных базы данных
7878

79-
Данные базы данных сохраняются в томе Docker с именем `pg-tools-postgre-sql-volume`. Это означает, что ваши данные будут сохраняться между перезапусками контейнеров.
79+
Данные базы данных сохраняются в томе Docker с именем `my-dashboard-sql-volume`. Это означает, что ваши данные будут сохраняться между перезапусками контейнеров.
8080

8181
Чтобы полностью удалить данные, вы можете удалить том:
8282

web/TECHNICAL_DOCUMENTATION.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ docker-compose up -d
272272

273273
This will start a PostgreSQL database with the following configuration:
274274
- Username: `postgres`
275-
- Password: `pgtoolspassword`
275+
- Password: `mydashboardpassword`
276276
- Database: `postgres`
277277
- Port: `5432` (mapped to localhost:5432)
278278

@@ -281,7 +281,7 @@ This will start a PostgreSQL database with the following configuration:
281281
After starting the database, add the following to your `web/.env` file:
282282

283283
```
284-
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:pgtoolspassword@localhost:5432/postgres
284+
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgresql://postgres:mydashboardpassword@localhost:5432/postgres
285285
```
286286

287287
### Stopping the Database
@@ -295,7 +295,7 @@ docker-compose down
295295

296296
### Database Persistence
297297

298-
The database data is persisted in a Docker volume named `pg-tools-postgre-sql-volume`. This means your data will be preserved between container restarts.
298+
The database data is persisted in a Docker volume named `my-dashboard-sql-volume`. This means your data will be preserved between container restarts.
299299

300300
To completely remove the data, you can remove the volume:
301301

web/docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
services:
2-
pg-tools-postgre-sql:
2+
my-dashboard-sql:
33
image: 'bitnami/postgresql:latest'
4-
container_name: 'pg-tools-postgre-sql'
4+
container_name: 'my-dashboard-sql'
55
volumes:
6-
- 'pg-tools-postgre-sql-volume:/bitnami/postgresql'
6+
- 'my-dashboard-sql-volume:/bitnami/postgresql'
77
ports:
88
- '5432:5432'
99
healthcheck:
@@ -17,8 +17,8 @@ services:
1717
restart: 'always'
1818
environment:
1919
POSTGRESQL_USERNAME: 'postgres'
20-
POSTGRESQL_PASSWORD: 'pgtoolspassword'
20+
POSTGRESQL_PASSWORD: 'mydashboardpassword'
2121
POSTGRESQL_DATABASE: 'postgres'
2222
volumes:
23-
pg-tools-postgre-sql-volume:
24-
name: 'pg-tools-postgre-sql-volume'
23+
my-dashboard-sql-volume:
24+
name: 'my-dashboard-sql-volume'

web/example.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Database connection string for PostgreSQL
22
# We recommend using Neon (https://neon.tech/) for cloud hosting
33
# Alternative options: Supabase (can sleep on free tier) or CockroachCloud (trial period)
4-
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgres://postgres:pgtoolspassword@localhost:5432/postgres?schema=public
4+
MY_DASHBOARD_DATABASE_POSTGRES_URL=postgres://postgres:mydashboardpassword@localhost:5432/postgres?schema=public
55
MY_DASHBOARD_TELEGRAM_AUTH_BOT_NAME=
66
MY_DASHBOARD_TELEGRAM_AUTH_BOT_TOKEN=
77
MY_DASHBOARD_API_URL=http://localhost:5173

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"lint": "eslint \"src/**/*.{ts,tsx}\"",
2626
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
2727
"prepare": "husky",
28-
"db:up": "docker compose up -d && ./node_modules/.bin/prisma migrate deploy",
28+
"db:up": "docker compose up -d && sleep 10 && ./node_modules/.bin/prisma migrate deploy",
2929
"db:down": "docker compose down",
3030
"postinstall": "patch-package"
3131
},

0 commit comments

Comments
 (0)