You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,21 @@ A modern subscription management system that helps users easily manage and track
124
124
docker compose build && docker compose up -d
125
125
```
126
126
127
+
**C. Run with `docker run`**
128
+
```bash
129
+
docker run -d \
130
+
--name subscription-manager \
131
+
-e SESSION_SECRET=your_session_secret \
132
+
-e ADMIN_USERNAME=admin \
133
+
-e ADMIN_PASSWORD=your_admin_password \
134
+
-e PORT=3001 \
135
+
-v subscription-data:/app/data \
136
+
-p 3001:3001 \
137
+
ghcr.io/huhusmang/subscription-management:latest
138
+
```
139
+
- Add extra `-e` flags for optional settings (e.g. `-e TIANAPI_KEY=...`, `-e BASE_CURRENCY=USD`) as needed.
140
+
- Prefer secrets management or an `.env` file in production; you can swap the `-e` flags for`--env-file /absolute/path/to/.env`if your environment supports it.
141
+
127
142
4. **Access the application**
128
143
- Frontend: http://localhost:3001
129
144
- The default port can be customized in the `.env` file (if you change it, make sure to update the `ports` setting accordingly)
@@ -248,4 +263,4 @@ npm run db:reset
248
263
249
264
## 📄 License
250
265
251
-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
266
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
0 commit comments