diff --git a/nodejsdev/compose.yaml b/nodejsdev/compose.yaml new file mode 100644 index 0000000..b645e1e --- /dev/null +++ b/nodejsdev/compose.yaml @@ -0,0 +1,26 @@ +# docker network create overleaf-network +services: + nodejsdev: + image: "node:current-alpine" + container_name: nodejsdev + hostname: nodejsdev + restart: always + command: sleep infinity + + ports: + - 3000:3000 + + volumes: + - nodejsdev_data:/data + - "/root/nodejsdev/key.pem:/certs/key.pem:ro" + - "/root/nodejsdev/ca.pem:/certs/certificate.pem:ro" + + networks: + - overleaf-network + +volumes: + nodejsdev_data: + +networks: + overleaf-network: + external: true