Adding docker-compose.yml
This commit is contained in:
parent
27253fec10
commit
39d69a4b03
58
docker-compose.yml
Normal file
58
docker-compose.yml
Normal file
@ -0,0 +1,58 @@
|
||||
---
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user