sesame/service.yml

43 lines
940 B
YAML

name: sesame
build:
images:
- path: ./caddy.Dockerfile
tag: sesame-caddy
- path: ./promtail.Dockerfile
tag: sesame-promtail
ports:
# Reverse proxied ports.
- host: 53000
container: 53000
- host: 53001
container: 53001
- host: 58082
container: 58082
- host: 50000
container: 80
- host: 50001
container: 443
# Caddy admin API
- host: 2019
container: 2019
volumes:
- name: caddy-data
- name: caddy-config
- name: caddy-logs
containers:
- name: caddy
image: sesame-caddy:latest
env-file: /etc/opt/spadinastan/sesame.env
volumes:
- name: caddy-data
container: /data
- name: caddy-config
container: /config
- name: caddy-logs
container: /var/log/caddy
- name: promtail
image: sesame-promtail:latest # Updated: 11/6/2024
volumes:
- name: caddy-logs
container: /var/caddy-logs
readonly: true