refactor: move to custom images

This commit is contained in:
Marc 2024-09-26 21:00:37 -04:00
parent 224607d103
commit b7586955a4
Signed by: marc
GPG key ID: 048E042F22B5DC79
3 changed files with 11 additions and 8 deletions

6
caddy.Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM caddy:2.8.4-alpine
RUN apk update && \
apk add nss-tools
COPY ./Caddyfile /etc/caddy

3
promtail.Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM grafana/promtail:main-a08ee68
COPY ./promtail.yml /etc/promtail/config.yml

View file

@ -22,7 +22,7 @@ volumes:
- name: caddy-logs
containers:
- name: caddy
image: caddy:2.8.4-alpine
image: sesame-caddy:latest
env-file: /etc/opt/spadinastan/sesame.env
volumes:
- name: caddy-data
@ -31,15 +31,9 @@ containers:
container: /config
- name: caddy-logs
container: /var/log/caddy
- host: ./Caddyfile
container: /etc/caddy/Caddyfile
readonly: true
- name: promtail
image: grafana/promtail:main-a08ee68 # Updated: 11/6/2024
image: sesame-promtail:latest # Updated: 11/6/2024
volumes:
- name: caddy-logs
container: /var/caddy-logs
readonly: true
- host: ./promtail.yml
container: /etc/promtail/config.yml
readonly: true