Create compose.yaml

This commit is contained in:
David Rotermund 2024-07-13 20:46:25 +02:00 committed by GitHub
parent 0c5f24da33
commit 56e73870af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

26
nodejsdev/compose.yaml Normal file
View file

@ -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