Use top-level name property in docker compose
Fix docker compose orphan containers warning
This commit is contained in:
parent
d21a761689
commit
fbd5591e9d
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_usermanager_dev
|
||||||
|
|
||||||
services:
|
services:
|
||||||
usermanager-api-dev:
|
usermanager-api-dev:
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_usermanager
|
||||||
|
|
||||||
services:
|
services:
|
||||||
usermanager-api:
|
usermanager-api:
|
||||||
extends:
|
extends:
|
||||||
file: docker-template.yml
|
file: docker-template.yml
|
||||||
service: usermanager-api
|
service: usermanager-api
|
||||||
|
container_name: fids_usermanager_api
|
||||||
depends_on:
|
depends_on:
|
||||||
usermanager-db:
|
usermanager-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
@ -12,6 +14,7 @@ services:
|
||||||
- auth
|
- auth
|
||||||
|
|
||||||
usermanager-db:
|
usermanager-db:
|
||||||
|
container_name: fids_usermanager_db
|
||||||
extends:
|
extends:
|
||||||
file: docker-template.yml
|
file: docker-template.yml
|
||||||
service: usermanager-db
|
service: usermanager-db
|
||||||
|
|
|
@ -2,7 +2,6 @@ version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
usermanager-api:
|
usermanager-api:
|
||||||
container_name: fids_usermanager_api
|
|
||||||
image: ${API_IMAGE}
|
image: ${API_IMAGE}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "nc", "-vz", "-w1", "localhost", "5000"]
|
test: ["CMD", "nc", "-vz", "-w1", "localhost", "5000"]
|
||||||
|
@ -17,7 +16,6 @@ services:
|
||||||
- APP_SETTINGS=${APP_SETTINGS}
|
- APP_SETTINGS=${APP_SETTINGS}
|
||||||
|
|
||||||
usermanager-db:
|
usermanager-db:
|
||||||
container_name: fids_usermanager_db
|
|
||||||
build:
|
build:
|
||||||
context: ./db
|
context: ./db
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_browser_dev
|
||||||
|
|
||||||
services:
|
services:
|
||||||
browser-client-dev:
|
browser-client-dev:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_browser
|
||||||
|
|
||||||
services:
|
services:
|
||||||
browser-client:
|
browser-client:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_flights_dev
|
||||||
|
|
||||||
services:
|
services:
|
||||||
flights-api-dev:
|
flights-api-dev:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_flights
|
||||||
|
|
||||||
services:
|
services:
|
||||||
flights-api:
|
flights-api:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_gateway_dev
|
||||||
|
|
||||||
services:
|
services:
|
||||||
api-gateway-dev:
|
api-gateway-dev:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_gateway
|
||||||
|
|
||||||
services:
|
services:
|
||||||
api-gateway:
|
api-gateway:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_screen_dev
|
||||||
|
|
||||||
services:
|
services:
|
||||||
screens-client-dev:
|
screens-client-dev:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_screen
|
||||||
|
|
||||||
services:
|
services:
|
||||||
screens-client:
|
screens-client:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_subscriptions_dev
|
||||||
|
|
||||||
services:
|
services:
|
||||||
subscriptions-api-dev:
|
subscriptions-api-dev:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
name: fids_subscriptions
|
||||||
|
|
||||||
services:
|
services:
|
||||||
subscriptions-api:
|
subscriptions-api:
|
||||||
|
|
Loading…
Reference in New Issue