This commit is contained in:
@@ -168,7 +168,6 @@ steps:
|
||||
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 rm --stop
|
||||
- docker compose -f docker-compose.staging-build.yml up --wait
|
||||
volumes:
|
||||
- name: env-secrets
|
||||
@@ -177,8 +176,6 @@ steps:
|
||||
path: /var/run/docker.sock
|
||||
- name: dockerconfig
|
||||
path: /drone/auth/.docker/config.json
|
||||
- name: mongo-init
|
||||
path: /drone/auth/mongo-init.js
|
||||
- name: Send Status Notifications
|
||||
image: plugins/webhook
|
||||
privileged: true
|
||||
@@ -206,8 +203,6 @@ volumes:
|
||||
- name: env-secrets
|
||||
host:
|
||||
path: /volume1/docker/beethoven/labs-auth/staging.env
|
||||
- name: mongo-init
|
||||
path: /drone/grow/mongo-init.js
|
||||
|
||||
depends_on:
|
||||
- Test Pipeline
|
||||
|
||||
@@ -5,11 +5,13 @@ services:
|
||||
container_name: ${CONTAINER_PREFIX:-staging}-auth-service_mongo
|
||||
env_file:
|
||||
- staging.env
|
||||
commands:
|
||||
- ln -s ./mongo-init.js /docker-entrypoint-initdb.d/mongo-init.js
|
||||
networks:
|
||||
- docknet
|
||||
volumes:
|
||||
- 'auth-db:/data'
|
||||
- '/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro'
|
||||
- 'auth-db:/data/db'
|
||||
- 'auth-db:/data/configdb'
|
||||
restart: unless-stopped
|
||||
image: mongo:latest
|
||||
auth-service:
|
||||
|
||||
Reference in New Issue
Block a user