diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..710c9d3 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: '3' +services: + node: + image: node:alpine + container_name: ovh-api-dyndns + restart: always + volumes: + - ./:/home/node/app/ + - ./node_logs/:/var/log/ + working_dir: /home/node/app/ + environment: + - NODE_ENV=production + command: sh -c 'npm i && nodejs index.js' \ No newline at end of file