This commit is contained in:
@@ -193,7 +193,7 @@ steps:
|
|||||||
- docker compose -f docker-compose.staging.yml up --wait
|
- docker compose -f docker-compose.staging.yml up --wait
|
||||||
volumes:
|
volumes:
|
||||||
- name: env
|
- name: env
|
||||||
path: /drone/grow/.env
|
path: /drone/grow/staging.env
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- name: dockerconfig
|
- name: dockerconfig
|
||||||
|
|||||||
@@ -2,20 +2,20 @@ version: '3.8'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
auth-service_mongo:
|
auth-service_mongo:
|
||||||
container_name: ${CONTAINER_PREFIX}-auth-service_mongo
|
container_name: ${CONTAINER_PREFIX:-mifi}-auth-service_mongo
|
||||||
env_file: .env
|
env_file: staging.env
|
||||||
networks:
|
networks:
|
||||||
- docknet
|
- docknet
|
||||||
volumes:
|
volumes:
|
||||||
- '/volume1/docker/labs/auth/mongo:/data/db'
|
- '/volume1/docker/labs/auth/mongo:/data/db'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: mongo
|
image: mongo:latest
|
||||||
auth-service:
|
auth-service:
|
||||||
env_file: .env
|
env_file: staging.env
|
||||||
build: .
|
build: .
|
||||||
container_name: ${CONTAINER_PREFIX}-auth-service
|
container_name: ${CONTAINER_PREFIX:-mifi}-auth-service
|
||||||
environment:
|
environment:
|
||||||
- DB_HOST=${CONTAINER_PREFIX}-auth-service_mongo
|
- DB_HOST=${CONTAINER_PREFIX:-mifi}-auth-service_mongo
|
||||||
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}`)'
|
||||||
@@ -27,7 +27,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- docknet
|
- docknet
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: node
|
image: node:20-alpine
|
||||||
depends_on:
|
depends_on:
|
||||||
- auth-service_mongo
|
- auth-service_mongo
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mifi/auth",
|
"name": "@mifi/auth",
|
||||||
"version": "0.0.26",
|
"version": "0.0.27",
|
||||||
"author": "mifi (Mike Fitzpatrick)",
|
"author": "mifi (Mike Fitzpatrick)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user