services/swarm/web.yaml
traveler 92bc6cb604
Some checks are pending
Deploy on push / detect (push) Waiting to run
Deploy on push / deploy_swarm (push) Blocked by required conditions
Deploy on push / deploy_compose (push) Blocked by required conditions
fg
2026-05-07 16:49:40 -05:00

59 lines
1.3 KiB
YAML
Executable file

services:
web:
image: php:8.2-apache
user: "1964:1964"
networks:
- netgrimoire
volumes:
- /data/nfs/znas/Docker/web/pages:/var/www/html:rw
- /data/nfs/znas/Docker/web/apache:/etc/apache2/sites-enabled:ro
environment:
PUID: 1964
PGID: 1964
TZ: America/Chicago
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: any
delay: 5s
max_attempts: 3
window: 120s
placement:
constraints:
- node.platform.arch != arm
- node.platform.arch != aarch64
- node.labels.cpu == amd
labels:
gremlin.version: "2026-04-1"
caddy: web.netgrimoire.com
caddy.reverse_proxy: web:80
caddy.import_1: crowdsec
homepage.group: PNCHarris Apps
homepage.name: Web
homepage.icon: web.png
homepage.href: https://web.netgrimoire.com
homepage.description: Web service
diun.enable: "true"
monitor.name: Web
monitor.url: http://web:80
caddy.reverse_proxy: web:80
caddy.import_1: crowdsec
caddy.import_2: authentik
gremlin.port: "80"
gremlin.authentik.skip: "true"
networks:
netgrimoire:
external: true