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: