Or this...
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2023-05-06 09:55:09 -04:00
parent aa699d5009
commit 61236719f4
2 changed files with 10 additions and 6 deletions

View File

@@ -187,11 +187,6 @@ steps:
- name: Deploy Container
image: docker
privileged: true
environment:
- HOST='area51.mifi.dev'
- PORT=9001
- ROUTE_PREFIX='/auth'
- CONTAINER_PREFIX=mifi
commands:
- docker compose -f docker-compose.staging.yml pull
- docker compose -f docker-compose.staging.yml build --no-cache

View File

@@ -3,6 +3,9 @@ version: '3.8'
services:
auth-service_mongo:
env_file: .env.dev
build:
args:
- CONTAINER_PREFIX=${CONTAINER_PREFIX}
container_name: ${CONTAINER_PREFIX:-dev}-auth-service_mongo
ports:
- 27017:27017
@@ -15,7 +18,13 @@ services:
image: mongo:latest
auth-service:
env_file: .env.dev
build: .
build:
context: .
args:
- HOST=${HOST}
- PORT=${PORT}
- ROUTE_PREFIX=${ROUTE_PREFIX}
- CONTAINER_PREFIX=${CONTAINER_PREFIX}
container_name: ${CONTAINER_PREFIX:-dev}-auth-service
ports:
- 9001:9001