mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 11:17:17 +02:00
- Added network subnet (192.168.103.192/28) and port 8050 for web-app-chess - Replaced stub README with usability-focused description of castling.club - Implemented config, vars, meta, and tasks for web-app-chess - Added Dockerfile, docker-compose.yml, env, and docker-entrypoint.sh templates - Integrated entrypoint asset placement - Updated meta to reflect usability and software features Ref: https://chatgpt.com/share/68b6c65a-3de8-800f-86b2-a110920cd50e
30 lines
997 B
Django/Jinja
30 lines
997 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
application:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
CHESS_REPO_URL: "{{ CHESS_REPO_URL }}"
|
|
CHESS_REPO_REF: "{{ CHESS_REPO_REF }}"
|
|
image: "castling_custom"
|
|
container_name: "{{ CHESS_CONTAINER }}"
|
|
hostname: "{{ CHESS_HOSTNAME }}"
|
|
environment:
|
|
- NODE_ENV=production
|
|
ports:
|
|
- "127.0.0.1:{{ ports.localhost.http[application_id] }}:{{ container_port }}"
|
|
volumes:
|
|
- 'data:/app/data'
|
|
env_file:
|
|
- .env
|
|
{% include 'roles/docker-container/templates/healthcheck/curl.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
|
data:
|
|
name: {{ CHESS_DATA_VOLUME }}
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|