eo-services-client/docker-compose.yml

72 lines
2.0 KiB
YAML

---
version: "3.8"
services:
eo-services:
deploy:
labels:
shepherd.enable: "true"
traefik.enable: "true"
traefik.http.routers.eo-services-https.entrypoints: https
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
NODE_ENV: production
REDIS_URL: redis://redis:6379
image: registry.mortons.site/eo-services:latest
networks:
- traefik_public
- default
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
VITE_API_BASE_URL: https://eo-services.mortons.site/api
VITE_ROUTER_BASE: /
image: registry.mortons.site/eo-services-client:latest
networks:
traefik_public: null
volumes:
- type: volume
source: images
target: /usr/share/nginx/html/images
volume: {}
redis:
environment:
TZ: America/Chicago
image: redis:latest
networks:
- default
networks:
default:
external: false
attachable: true
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=10.0.0.21
type: nfs4