Symlinks?
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-05-10 11:03:57 -04:00
parent 3a721987dd
commit 465e47fc10
2 changed files with 4 additions and 7 deletions

View File

@@ -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

View File

@@ -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: