28 lines
838 B
YAML
28 lines
838 B
YAML
---
|
|
nats:
|
|
|
|
# Define the name of this container.
|
|
name: "nats"
|
|
|
|
# Define the docker image to be used for this container.
|
|
image: "{{ feedstack_nats_container_image }}:{{ feedstack_nats_container_tag }}"
|
|
|
|
# Define the path where application data for this container will be stored.
|
|
appdata_directory: "{{ docker_appdata_directory }}/nats"
|
|
|
|
# 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"
|
|
|
|
# Define the ports that should be opened to the outside world.
|
|
ports:
|
|
- "4222:4222" # client port
|
|
- "6222:6222" # cluster port
|
|
- "8222:8222" # monitoring port
|
|
|
|
# Define environment variables to be passed to the container.
|
|
#environment_variables: []
|
|
|
|
...
|