Updated docker compose syntax with respect to dependencies to maintain consistency with the upstream docker-compose role.

This commit is contained in:
2026-02-08 22:28:14 +00:00
parent 2585dbffd1
commit 7b2081b94c
6 changed files with 48 additions and 8 deletions

View File

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