mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-08 01:25:14 +02:00
25 lines
799 B
Django/Jinja
25 lines
799 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
|
|
moodle:
|
|
{% set container_port = 8008 %}
|
|
container_name: {{ container_name }}
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: moodle_custom
|
|
ports:
|
|
- 127.0.0.1:{{ports.localhost.http[application_id]}}:{{ container_port }}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
volumes:
|
|
- 'code:{{ bitnami_code_link }}'
|
|
- 'data:{{ bitnami_data_dir }}'
|
|
{% include 'roles/docker-container/templates/healthcheck/tcp.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/depends_on_dmbs.j2' %}
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
|
code:
|
|
data:
|
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %}
|
|
|