Fix Posse-Party architecture - constrain to NAS node (x86_64) since image doesn't support ARM64
This commit is contained in:
@@ -15,6 +15,10 @@ services:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- posse-party-network
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.type == nas
|
||||
|
||||
migrate:
|
||||
image: ghcr.io/searlsco/posse_party:latest
|
||||
@@ -30,6 +34,12 @@ services:
|
||||
restart: "no"
|
||||
networks:
|
||||
- posse-party-network
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.type == nas
|
||||
restart_policy:
|
||||
condition: none
|
||||
|
||||
web:
|
||||
image: ghcr.io/searlsco/posse_party:latest
|
||||
@@ -71,6 +81,10 @@ services:
|
||||
- traefik.http.services.posseparty-websecure.loadbalancer.server.port=3000
|
||||
- traefik.http.routers.posseparty-websecure.service=posseparty-websecure
|
||||
- traefik.http.routers.posseparty-websecure.tls.certresolver=letsencrypt
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.type == nas
|
||||
|
||||
worker:
|
||||
image: ghcr.io/searlsco/posse_party:latest
|
||||
@@ -99,6 +113,10 @@ services:
|
||||
start_period: 60s
|
||||
networks:
|
||||
- posse-party-network
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.type == nas
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
|
||||
Reference in New Issue
Block a user