fix(local deploy): constrains node

This commit is contained in:
2025-05-25 16:02:21 -05:00
parent a4029725f9
commit 76bad88190
2 changed files with 5 additions and 0 deletions

View File

@@ -8,6 +8,10 @@ services:
MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'
deploy:
replicas: 2
placement:
constraints:
- node.hostname != web03
- node.hostname != web03.caldwell.local
volumes:
- /mnt/media/downloads/movies:/var/download/movies
- /mnt/media/downloads/tvshows:/var/download/tvshows

View File

@@ -2,6 +2,7 @@ FROM dunglas/frankenphp
ENV SERVER_NAME=":80"
ENV CADDY_GLOBAL_OPTIONS="auto_https off"
ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime"
RUN install-php-extensions \
pdo_mysql \