eo-services-client/docker-compose.yml

59 lines
1.8 KiB
YAML

---
version: "3.8"
services:
eo-services:
deploy:
labels:
shepherd.enable: "true"
traefik.enable: "true"
traefik.http.middlewares.eo-services.stripprefix.prefixes: /api
traefik.http.routers.eo-services-https.entrypoints: https
traefik.http.routers.eo-services-https.middlewares: eo-services
traefik.http.routers.eo-services-https.rule:
Host(`eo-services.mortons.site`)
&& ( Path(`/api`) || PathPrefix(`/api/`) )
traefik.http.routers.eo-services-https.tls: ""
traefik.http.routers.eo-services-https.tls.certresolver: le
traefik.http.services.eo-services.loadbalancer.server.port: "3000"
environment:
TZ: America/Chicago
image: registry.mortons.site/eo-services:latest
networks:
traefik_public: null
eo-services-client:
deploy:
labels:
shepherd.enable: "true"
traefik.enable: "true"
traefik.http.routers.eo-services-client-https.entrypoints: https
traefik.http.routers.eo-services-client-https.rule: Host(`eo-services.mortons.site`)
traefik.http.routers.eo-services-client-https.tls: ""
traefik.http.routers.eo-services-client-https.tls.certresolver: le
traefik.http.services.eo-services-client.loadbalancer.server.port: "80"
environment:
TZ: America/Chicago
image: registry.mortons.site/eo-services-client:latest
networks:
traefik_public: null
volumes:
- type: volume
source: images
target: /usr/share/nginx/html/images
volume: {}
networks:
traefik_public:
name: traefik_public
external: true
volumes:
images:
name: eo-services_images
driver: local
driver_opts:
device: :/volume1/docker-volumes/eo-services/images
o: addr=192.168.1.21
type: nfs4