Remove container_name from docker-compose to fix redeploy conflicts
Portainer fails to redeploy when the old containers still exist with the same hardcoded names. Letting Compose auto-name them based on the stack/project avoids the conflict. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,7 +6,6 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: indeedhub-app
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7777:7777"
|
||||
@@ -27,7 +26,6 @@ services:
|
||||
# ── Nostr Relay (stores comments, reactions, profiles) ───────
|
||||
relay:
|
||||
image: scsibug/nostr-rs-relay:latest
|
||||
container_name: indeedhub-relay
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- relay-data:/usr/src/app/db
|
||||
@@ -40,7 +38,6 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.seed
|
||||
container_name: indeedhub-seeder
|
||||
depends_on:
|
||||
- relay
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user