Initial commit

This commit is contained in:
2024-09-15 10:58:45 +00:00
commit 76e30eebb2
9 changed files with 254 additions and 0 deletions

17
docker-compose.yml Normal file
View File

@ -0,0 +1,17 @@
services:
nodejs:
image: node:22-alpine
working_dir: /usr/project/app
restart: unless-stopped
command: >
sh -c 'echo "Running setup...";
npm install;
echo "Starting the node...";
npm start'
volumes:
- ./app/:/usr/project/app/:rw
- ./.env:/usr/project/.env:ro
- ./example.env:/usr/project/example.env:ro
- ./data/:/usr/project/data/:rw
ports:
- "${PORT}:${PORT}"