Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Kodden committed Sep 29, 2023
1 parent 5771147 commit c804157
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
6 changes: 6 additions & 0 deletions ansible/inventory/pilot
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[workspace]
pilot1.sram.surf.nl

[pilot:vars]
ansible_python_interpreter=/usr/bin/python3
ansible_user=harry
6 changes: 6 additions & 0 deletions ansible/inventory/vault
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[vault]
vault.fried-air.com

[vault:vars]
ansible_python_interpreter=/usr/bin/python3
ansible_user=debian
2 changes: 1 addition & 1 deletion ansible/roles/rclone/templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ services:
- redis
labels:
- "traefik.enable=true"
- "traefik.http.routers.mount.rule=Host(`{{ inventory_hostname }}`) && (PathPrefix(`/admin`) || PathPrefix(`/webdav`))"
- "traefik.http.routers.mount.rule=Host(`{{ inventory_hostname }}`) && (PathPrefix(`/`) ||PathPrefix(`/admin`) || PathPrefix(`/webdav`))"
- "traefik.http.routers.mount.tls=true"
- "traefik.http.routers.mount.tls.certresolver=le"
- "traefik.http.routers.mount.entrypoints=https"
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/vault/templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
- ./file:/vault/file
labels:
- "traefik.enable=true"
- "traefik.http.routers.vault.rule=Host(`{{ inventory_hostname }}`)"
- "traefik.http.routers.vault.rule=Host(`{{ inventory_hostname }}`) && (PathPrefix(`/ui`) || PathPrefix(`/v1`))"
- "traefik.http.routers.vault.tls=true"
- "traefik.http.routers.vault.tls.certresolver=le"
- "traefik.http.routers.vault.entrypoints=https"
Expand Down
2 changes: 1 addition & 1 deletion mount/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y \
nginx nginx-full libnginx-mod-http-lua \
nginx nginx-full libnginx-mod-http-lua libnginx-mod-http-fancyindex \
wget cron curl vim git sudo \
ca-certificates autoconf build-essential make \
libpam-dev libcurl4-gnutls-dev libhiredis-dev libssl-dev \
Expand Down

0 comments on commit c804157

Please sign in to comment.