Create compose.yaml
This commit is contained in:
parent
0c5f24da33
commit
56e73870af
1 changed files with 26 additions and 0 deletions
26
nodejsdev/compose.yaml
Normal file
26
nodejsdev/compose.yaml
Normal 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
|
Loading…
Reference in a new issue