This commit is contained in:
@@ -166,9 +166,8 @@ steps:
|
||||
ROUTE_PREFIX: /auth
|
||||
PORT: 9001
|
||||
commands:
|
||||
- docker compose -f docker-compose.staging-build.yml pull
|
||||
- docker compose -f docker-compose.staging-build.yml build --no-cache
|
||||
- docker compose -f docker-compose.staging-build.yml up --wait
|
||||
# - docker compose -f docker-compose.staging-build.yml build --pull --no-cache
|
||||
- docker compose -f docker-compose.staging-build.yml up --remove-orphans --pull always --force-recreate --wait
|
||||
volumes:
|
||||
- name: env-secrets
|
||||
path: /drone/auth/staging.env
|
||||
|
||||
@@ -5,12 +5,12 @@ services:
|
||||
container_name: ${CONTAINER_PREFIX:-staging}-auth-service_mongo
|
||||
env_file:
|
||||
- staging.env
|
||||
build: .
|
||||
# context: .
|
||||
# args:
|
||||
# - DB_NAME
|
||||
# - DB_PASSWORD
|
||||
# - DB_USERNAME
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- DB_NAME
|
||||
- DB_PASSWORD
|
||||
- DB_USERNAME
|
||||
networks:
|
||||
- docknet
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user