Revert "More paths"
All checks were successful
continuous-integration/drone/push Build is passing

This reverts commit 43dcdf4e6a.
This commit is contained in:
2023-05-11 07:56:32 -04:00
parent 43dcdf4e6a
commit cfad224c8d
6 changed files with 9 additions and 10 deletions

View File

@@ -0,0 +1,43 @@
version: '3.8'
services:
auth-service_mongo:
container_name: ${CONTAINER_PREFIX:-staging}-auth-service_mongo
env_file:
- staging.env
networks:
- docknet
volumes:
- auth-db:/data
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
restart: unless-stopped
image: mongo:4.4
auth-service:
env_file:
- staging.env
container_name: ${CONTAINER_PREFIX:-staging}-auth-service
environment:
- DB_HOST=${CONTAINER_PREFIX:-staging}-auth-service_mongo
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.grow.rule=Host(`${HOST}`) && Path(`${ROUTE_PREFIX}`)'
- 'traefik.http.routers.grow.entrypoints=websecure'
- 'traefik.http.routers.grow.tls=true'
- 'traefik.http.routers.grow.tls.certresolver=letsencrypt'
- 'traefik.http.routers.grow.service=grow-service'
- 'traefik.http.services.grow-service.loadbalancer.server.port=${PORT}'
networks:
- docknet
restart: unless-stopped
image: git.mifi.dev/mifi/mifi/auth:latest
depends_on:
- auth-service_mongo
networks:
docknet:
name: docknet
external: true
volumes:
auth-db:
external: false