remove static website stack

This commit is contained in:
Pim Kunis 2023-05-20 22:05:26 +02:00
parent b31a6ab73e
commit 3e32394dc9
4 changed files with 1 additions and 29 deletions

View file

@ -22,3 +22,4 @@ docker_node_labels:
seafile: "true" seafile: "true"
freshrss: "true" freshrss: "true"
pihole: "true" pihole: "true"
concourse: "true"

View file

@ -17,4 +17,3 @@
- {role: shephard, tags: shephard} - {role: shephard, tags: shephard}
- {role: jitsi, tags: jitsi} - {role: jitsi, tags: jitsi}
- {role: pihole, tags: pihole} - {role: pihole, tags: pihole}
- {role: static, tags: static}

View file

@ -1,23 +0,0 @@
# vi: ft=yaml
version: '3'
networks:
traefik:
external: true
services:
static:
image: git.pim.kunis.nl/pim/concourse-test:latest
networks:
- traefik
deploy:
placement:
constraints:
- "node.labels.public == true"
labels:
- traefik.enable=true
- traefik.http.routers.static.entrypoints=websecure
- traefik.http.services.static.loadbalancer.server.port=80
- traefik.http.routers.static.rule=Host(`pim.kunis.nl`)
- traefik.http.routers.static.tls=true
- traefik.http.routers.static.tls.certresolver=letsencrypt

View file

@ -1,5 +0,0 @@
- name: Deploy Docker stack
docker_stack:
name: static
compose:
- "{{ lookup('template', '{{ role_path }}/docker-stack.yml.j2') | from_yaml }}"