refactor: move to custom images
This commit is contained in:
parent
224607d103
commit
b7586955a4
3 changed files with 11 additions and 8 deletions
6
caddy.Dockerfile
Normal file
6
caddy.Dockerfile
Normal 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
3
promtail.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM grafana/promtail:main-a08ee68
|
||||
|
||||
COPY ./promtail.yml /etc/promtail/config.yml
|
10
service.yml
10
service.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue