init
This commit is contained in:
17
common/docker-compose.yml.j2
Normal file
17
common/docker-compose.yml.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user