2 Commits

Author SHA1 Message Date
32fdde5d90 - The missing env variables...
Some checks failed
continuous-integration/drone/push Build encountered an error
2023-05-06 08:43:26 -04:00
2eacdaeece Tweaks
Some checks failed
continuous-integration/drone/push Build encountered an error
2023-05-06 01:38:00 -04:00
3 changed files with 12 additions and 9 deletions

View File

@@ -61,7 +61,7 @@ trigger:
branch: branch:
- main - main
event: event:
- pull_request # - pull_request
- push - push
--- ---
@@ -111,7 +111,7 @@ steps:
- name: Publish Image - name: Publish Image
image: docker image: docker
commands: commands:
- docker build -f docker-compose.staging.yml -t git.mifi.dev/mifi/mifi/auth:latest . - docker build -t git.mifi.dev/mifi/mifi/auth:latest -t git.mifi.dev/mifi/mifi/auth:${DRONE_TAG} .
- docker push git.mifi.dev/mifi/mifi/auth:latest - docker push git.mifi.dev/mifi/mifi/auth:latest
volumes: volumes:
- name: dockersock - name: dockersock
@@ -168,10 +168,10 @@ depends_on:
- Test Pipeline - Test Pipeline
trigger: trigger:
branch: # branch:
- main # - main
event: event:
- push # - push
- tag - tag
--- ---
@@ -230,8 +230,8 @@ depends_on:
- Test Pipeline - Test Pipeline
trigger: trigger:
branch: # branch:
- main # - main
event: event:
- push # - push
- tag - tag

View File

@@ -16,6 +16,9 @@ services:
container_name: ${CONTAINER_PREFIX:-mifi}-auth-service container_name: ${CONTAINER_PREFIX:-mifi}-auth-service
environment: environment:
- DB_HOST=${CONTAINER_PREFIX:-mifi}-auth-service_mongo - DB_HOST=${CONTAINER_PREFIX:-mifi}-auth-service_mongo
- HOST=${HOST}
- PORT=${PORT}
- ROUTE_PREFIX=${ROUTE_PREFIX}
labels: labels:
- 'traefik.enable=true' - 'traefik.enable=true'
- 'traefik.http.routers.grow.rule=Host(`${HOST}`) && Path(`${ROUTE_PREFIX}`)' - 'traefik.http.routers.grow.rule=Host(`${HOST}`) && Path(`${ROUTE_PREFIX}`)'

View File

@@ -1,6 +1,6 @@
{ {
"name": "@mifi/auth", "name": "@mifi/auth",
"version": "0.0.27", "version": "0.0.29",
"author": "mifi (Mike Fitzpatrick)", "author": "mifi (Mike Fitzpatrick)",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {