Files
templates/common/docker-compose.yml.j2
changmin hyeon 0d808202f6 init
2026-02-10 11:33:59 +09:00

18 lines
390 B
Django/Jinja

version: "3.8"
services:
{{ node_id }}:
build: .
container_name: {{ node_id }}-${BRANCH_NAME}-{{ node_type }}
image: {{ node_id }}.${BRANCH_NAME}:${GIT_COMMIT_HASH}
environment:
- PYTHONUNBUFFERED=1
- BRANCH_NAME=${BRANCH_NAME}
- GIT_COMMIT_HASH=${GIT_COMMIT_HASH}
restart: unless-stopped
networks:
- ai
networks:
ai:
external: true