nesting doesn't work has to be flat mapping
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
colin 2024-01-21 20:30:32 +00:00
parent fb75a08160
commit 82f6ef569d
1 changed files with 18 additions and 38 deletions

View File

@ -3,59 +3,39 @@ version: '3.8'
services: services:
redis: redis:
image: git.nixc.us/colin/haste:production-redis image: git.nixc.us/colin/haste:production-redis
# volumes: volumes:
# - redis_data:/data - redis_data:/data
networks: networks:
- default - default
deploy: deploy:
# placement: placement:
# constraints: constraints:
# - node.hostname == macmini3 - node.hostname == macmini3
replicas: 1 replicas: 1
restart_policy: restart_policy:
condition: on-failure condition: on-failure
haste: haste:
image: git.nixc.us/colin/haste:production-haste image: git.nixc.us/colin/haste:production-haste
# volumes: volumes:
# - public_system:/haste/public/system - public_system:/haste/public/system
networks: networks:
- traefik - traefik
- default - default
deploy: deploy:
# placement: placement:
# constraints: constraints:
# - node.hostname == macmini3 - node.hostname == macmini3
# labels:
# us.nixc.autodeploy: "true"
# traefik.enable: "true"
# traefik.http.routers.production-haste_haste.rule: "Host(`haste.nixc.us`)"
# traefik.http.routers.production-haste_haste.entrypoints: "websecure"
# traefik.http.routers.production-haste_haste.tls: "true"
# traefik.http.routers.production-haste_haste.tls.certresolver: "letsencryptresolver"
# traefik.http.routers.production-haste_haste.service: "production-haste_haste"
# traefik.http.services.production-haste_haste.loadbalancer.server.port: "7777"
# traefik.docker.network: "traefik"
labels: labels:
us.nixc.autodeploy: "true" us.nixc.autodeploy: "true"
traefik: traefik.enable: "true"
enable: "true" traefik.http.routers.production-haste_haste.rule: "Host(`haste.nixc.us`)"
docker: traefik.http.routers.production-haste_haste.entrypoints: "websecure"
network: "traefik" traefik.http.routers.production-haste_haste.tls: "true"
http: traefik.http.routers.production-haste_haste.tls.certresolver: "letsencryptresolver"
routers: traefik.http.routers.production-haste_haste.service: "production-haste_haste"
production-haste_haste: traefik.http.services.production-haste_haste.loadbalancer.server.port: "7777"
rule: "Host(`haste.nixc.us`)" traefik.docker.network: "traefik"
entrypoints: "websecure"
tls: "true"
tls:
certresolver: "letsencryptresolver"
service: "production-haste_haste"
services:
production-haste_haste:
loadbalancer:
server:
port: "7777"
replicas: 1 replicas: 1
restart_policy: restart_policy: