Private build on DSM (no registry); drop Docker Hub

This commit is contained in:
2026-09-02 08:30:01 +08:00
parent 1cafa21039
commit e5096ef8d8
3 changed files with 16 additions and 7 deletions
+5 -3
View File
@@ -40,8 +40,10 @@ container on DSM (network `bridge_hoelee`, reaches NocoDB at `http://nocodb:1038
## Build / deploy
Private build on DSM — NO registry (do not push to Docker Hub):
```bash
docker build -t hoelee/carousell-monitor:latest .
docker push hoelee/carousell-monitor:latest
# then Portainer stack from /volume1/docker/carousell-monitor/docker-compose.yml
# on DSM (repo cloned to /volume1/docker/carousell-monitor)
cd /volume1/docker/carousell-monitor
sudo docker compose up -d --build
```
+9 -3
View File
@@ -39,9 +39,15 @@ docker compose up -d
## Deploy (DSM via Portainer)
Image pushed to Docker Hub `hoelee/carousell-monitor:latest`; the compose at
`/volume1/docker/carousell-monitor` is deployed as a Portainer stack with the
secrets passed as stack environment variables.
Private build — no registry. The compose at `/volume1/docker/carousell-monitor`
is cloned from Gitea and built on DSM (`build: .`), then deployed as a Portainer
stack with the secrets passed as stack environment variables.
```bash
# on DSM
cd /volume1/docker/carousell-monitor
sudo docker compose up -d --build
```
## Files
+2 -1
View File
@@ -5,7 +5,8 @@
services:
carousell-monitor:
image: hoelee/carousell-monitor:latest
build: .
image: carousell-monitor:latest
container_name: carousell-monitor
restart: unless-stopped
environment: