Skip to content

Commit 7c76427

Browse files
committed
update compose
1 parent 086642d commit 7c76427

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ A modern, self-hosted URL shortener service built with TanStack Start, React, Pr
2222

2323
### Using Docker Compose (Recommended)
2424

25-
1. **Download `compose.yml`**
25+
1. **Download `compose.yaml`**
2626
```bash
27-
curl -O https://github.com/skrylnikov/cutly/releases/download/v0.1.1/compose.yml
27+
curl -O https://github.com/skrylnikov/cutly/releases/download/v0.2.0/compose.yaml
2828
```
2929

3030
2. **Configure environment variables** (optional)
3131

32-
Edit `compose.yml` and replace the environment variable placeholders with your values:
32+
Edit `compose.yaml` and replace the environment variable placeholders with your values:
3333

3434
```yaml
3535
environment:
@@ -80,7 +80,7 @@ The application will be available at `http://localhost:3000` (or the port you co
8080
-v $(pwd)/data:/app/data \
8181
-e DATABASE_URL="file:/app/data/dev.db" \
8282
-e APP_URL="http://localhost:3000" \
83-
ghcr.io/skrylnikov/cutly:0.1.1
83+
ghcr.io/skrylnikov/cutly:0.2.0
8484
```
8585

8686
## Environment Variables
@@ -282,7 +282,7 @@ cutly/
282282
│ ├── db.ts # Database client
283283
│ └── router.tsx # Router configuration
284284
├── Dockerfile # Docker image definition
285-
├── compose.yml # Docker Compose configuration
285+
├── compose.yaml # Docker Compose configuration
286286
└── package.json # Dependencies and scripts
287287
```
288288
@@ -304,7 +304,7 @@ cutly/
304304
305305
### Port Conflicts
306306
307-
- Change the port in `compose.yml` or use environment variables
307+
- Change the port in `compose.yaml` or use environment variables
308308
- Update `APP_URL` if using a different port
309309
310310
## License

compose.dev.yml renamed to compose.dev.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
- OIDC_ISSUER=${OIDC_ISSUER:-}
1616
- OIDC_CLIENT_ID=${OIDC_CLIENT_ID:-}
1717
- OIDC_CLIENT_SECRET=${OIDC_CLIENT_SECRET:-}
18+
- JWT_SECRET=${JWT_SECRET:-}
1819

1920
# Application URL (optional - defaults to http://localhost:3000)
2021
- APP_URL=${APP_URL:-http://localhost:3000}

compose.yml renamed to compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
services:
33
app:
4-
image: ghcr.io/skrylnikov/cutly:0.1.0
4+
image: ghcr.io/skrylnikov/cutly:0.2.0
55
container_name: cutly-app
66
ports:
77
- "3000:3000"
@@ -13,6 +13,7 @@ services:
1313
- OIDC_ISSUER=${OIDC_ISSUER:-}
1414
- OIDC_CLIENT_ID=${OIDC_CLIENT_ID:-}
1515
- OIDC_CLIENT_SECRET=${OIDC_CLIENT_SECRET:-}
16+
- JWT_SECRET=${JWT_SECRET:-}
1617

1718
# Application URL (optional - defaults to http://localhost:3000)
1819
- APP_URL=${APP_URL:-http://localhost:3000}

0 commit comments

Comments
 (0)