Skip to content

Commit

Permalink
FIX: env_file format compose 2.25 <=> compose 2.23
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred78290 committed Mar 30, 2024
1 parent 3af741e commit 4a161d9
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions compose/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ services:
image: mariadb
container_name: mariadb
hostname: mariadb
env_file:
- path: ./test.env
required: true
env_file: ./test.env
healthcheck:
test: [ "CMD", "healthcheck.sh", "--su-mysql", "--connect", "--innodb_initialized" ]
interval: 10s
Expand Down Expand Up @@ -64,9 +62,7 @@ services:
depends_on:
mariadb:
condition: service_healthy
env_file:
- path: test.env
required: true
env_file: ./test.env
healthcheck:
test: [ "CMD", "wget", "-q", "http://localhost:5000/v3/" ]
interval: 10s
Expand All @@ -91,9 +87,7 @@ services:
condition: service_healthy
named:
condition: service_healthy
env_file:
- path: test.env
required: true
env_file: ./test.env
healthcheck:
test: [ "CMD", "wget", "-q", "http://localhost:9001/" ]
interval: 10s
Expand All @@ -112,9 +106,7 @@ services:
depends_on:
designate:
condition: service_healthy
env_file:
- path: test.env
required: true
env_file: ./test.env
command: [ "openstack", "zone", "create", "--email", "dnsmaster@example.com", "example.com." ]
networks:
- local
Expand Down

0 comments on commit 4a161d9

Please sign in to comment.