{% include 'roles/docker-compose/templates/base.yml.j2' %} application: build: context: . dockerfile: Dockerfile args: CONFLUENCE_BASE_IMAGE: "{{ CONFLUENCE_IMAGE }}:{{ CONFLUENCE_VERSION }}" image: "{{ CONFLUENCE_IMAGE }}:{{ CONFLUENCE_VERSION }}-oidc" container_name: "{{ CONFLUENCE_CONTAINER }}" hostname: '{{ CONFLUENCE_HOSTNAME}}' ports: - "127.0.0.1:{{ ports.localhost.http[application_id] }}:8090" volumes: - 'data:/var/atlassian/application-data/confluence' {% include 'roles/docker-container/templates/healthcheck/curl.yml.j2' %} {% include 'roles/docker-container/templates/base.yml.j2' %} depends_on: - database {% include 'roles/docker-container/templates/networks.yml.j2' %} {% include 'roles/docker-compose/templates/volumes.yml.j2' %} data: name: {{ CONFLUENCE_DATA_VOLUME }} {% include 'roles/docker-compose/templates/networks.yml.j2' %}