Skip to content

Commit 5240745

Browse files
author
Thomas Hanke
committed
rename compose files
1 parent 921b0fc commit 5240745

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/TestExamples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
3030
- name: Start services
3131
run: |
32-
docker compose -f docker-compose.dev.yml up -d --build
32+
docker compose -f compose.dev.yml up -d --build
3333
echo "Waiting for services to be ready..."
3434
sleep 30
3535
docker compose ps

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
docker-compose.override.yml
1+
compose.override.yml
22
.vscode/*
33

44
# Byte-compiled / optimized / DLL files

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ git clone https://github.com/Mat-O-Lab/MapToMethod
5353
cd MapToMethod
5454

5555
# 2. Start the service
56-
docker-compose up -d
56+
docker compose up -d
5757

5858
# 3. Access the application
5959
# Web UI: http://localhost:5005
@@ -395,11 +395,11 @@ The advanced settings control **which entities** are queried from your data and
395395
For local development with hot-reloading:
396396

397397
```bash
398-
# Using docker-compose.dev.yml
399-
docker-compose -f docker-compose.dev.yml up
398+
# Using compose.dev.yml
399+
docker compose -f compose.dev.yml up
400400
401401
# Or set environment variable
402-
APP_MODE=development docker-compose up
402+
APP_MODE=development
403403
```
404404

405405
Access at: http://localhost:5005
@@ -409,7 +409,7 @@ Access at: http://localhost:5005
409409
For production deployment:
410410

411411
```bash
412-
docker-compose up -d
412+
docker compose up -d
413413
```
414414

415415
Or pull the pre-built container:
@@ -448,12 +448,12 @@ Error: Cannot connect to the Docker daemon
448448
```
449449
Error: bind: address already in use
450450
```
451-
→ Change the port in `docker-compose.yml` or stop conflicting services:
451+
→ Change the port in `compose.yml` or stop conflicting services:
452452
```bash
453453
# Find what's using port 5005
454454
lsof -i :5005
455455
# Or use a different port
456-
PORT=5006 docker-compose up
456+
PORT=5006 docker compose up
457457
```
458458

459459
**No entities found**
@@ -489,12 +489,12 @@ Enable detailed logging:
489489
APP_MODE=development
490490

491491
# Restart services
492-
docker-compose restart
492+
docker compose restart
493493
```
494494

495495
View logs in real-time:
496496
```bash
497-
docker-compose logs -f
497+
docker compose logs -f
498498
```
499499

500500
### Check Service Health
File renamed without changes.
File renamed without changes.

settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Setting(BaseSettings):
88
contact_name: str = str(os.environ.get("ADMIN_NAME", "MapToMethod Admin"))
99
admin_email: str = str(os.environ.get("ADMIN_MAIL", "maptomethod@matolab.org"))
1010
items_per_user: int = 50
11-
version: str = str(os.environ.get("APP_VERSION", "v1.1.4"))
11+
version: str = str(os.environ.get("APP_VERSION", "v1.1.5"))
1212
config_name: str = str(os.environ.get("APP_MODE", "development"))
1313
openapi_url: str = "/api/openapi.json"
1414
docs_url: str = "/api/docs"

0 commit comments

Comments
 (0)