- The secrets directory structure will be :
secrets/ ├── all-verticles-configs │ ├── config-depl.json │ ├── config-dev.json │ └── config-x.json ├── keystore.jks └── one-verticle-configs
- Create a non-git versioned named
docker-compose.temp.yml
file with following contents:version: '3.7' networks: lip-net: driver: bridge services: lip: image: iudx/lip-dev:latest volumes: - ./secrets/all-verticles-configs/config-x.json:/usr/share/app/secrets/all-verticles-configs/config.json ports: - "8080:80" networks: - lip-net
- Command to bring up the file server container is :
docker-compose -f docker-compose.yml -f docker-compose.temp.yml up -d
- Create a non-git versioned named
docker-compose.temp.yml
file with following contents:version: '3.7' networks: overlay-net: external: true driver: overlay services: lip: image: iudx/lip-depl:latest volumes: - ./secrets/all-verticles-configs/config-depl.json:/usr/share/app/secrets/all-verticles-configs/config.json ports: - "80:80" - "9000:9000" networks: - overlay-net
- Command to bring up the latest-ingestion-pipeline container is :
docker-compose -f docker-compose.yml -f docker-compose.temp.yml up -d
- For overriding other miscellaneous configurations through multiple-compose files i.e. docker-compose.yml and docker-compose.temp.yml, refer here.