Updated docker compose syntax with respect to dependencies to maintain consistency with the upstream docker-compose role.
This commit is contained in:
@@ -10,10 +10,13 @@ nats:
|
||||
# Define the path where application data for this container will be stored.
|
||||
appdata_directory: "{{ docker_appdata_directory }}/nats"
|
||||
|
||||
# Needed to set the config file.
|
||||
command: "-c /nats.conf"
|
||||
|
||||
# Define the volumes that should be mounted into the container.
|
||||
volumes:
|
||||
- "{{ docker_appdata_directory }}/nats/data:/data"
|
||||
- "{{ docker_appdata_directory }}/nats/config/nats.conf:/etc/nats/nats.conf:ro"
|
||||
- "{{ docker_appdata_directory }}/nats/config/nats.conf:/nats.conf:ro"
|
||||
|
||||
# Define the ports that should be opened to the outside world.
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user