kleinigkeiten für deploy prozess...

This commit is contained in:
br committed 2026-09-11 15:01:51 +02:00
1 parent c1c92d1169
commit 96c9ceafc1
6 files changed
+87 -57

No files matched your search

+24 -19
View File
@@ -1,19 +1,24 @@
name: kbpdev
services:
pythonapp:
extends:
file: docker-compose.base.yaml
service: pythonapp
build:
target: dev
args: # Übergibt die ARGS an das dockerfile
# PYTHON_VERSION: ${PYTHON_VERSION}
NODE_VERSION: ${NODE_VERSION:-18}
NPM_VERSION: ${NPM_VERSION:-8}
volumes:
- ${PYTHON_DEV_DIR}:/usr/opt/pythonapp
# - ${TYPESCRIPT_SRC_DIR}:/usr/opt/typescript
- node-modules:/usr/opt/typescript/node_modules
volumes:
node-modules:
name: kbpdev
services:
nginx-proxy:
extends:
file: docker-compose.base.yaml
service: nginx-proxy
volumes:
- ${NGINX_STATIC_DIR}:/usr/share/nginx/html:ro
pythonapp:
extends:
file: docker-compose.base.yaml
service: pythonapp
build:
target: dev
args:
NODE_VERSION: ${NODE_VERSION:-18}
NPM_VERSION: ${NPM_VERSION:-8}
volumes:
- ${PYTHON_DEV_DIR}:/usr/opt/pythonapp
- node-modules:/usr/opt/typescript/node_modules
volumes:
node-modules: