diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..32ec62b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +version: "3.8" +services: + appdaemon: + container_name: appdaemon + image: acockburn/appdaemon:dev + volumes: + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro + - appdaemon-data:/conf + ports: + - 5050:5050 + restart: unless-stopped + +volumes: + appdaemon-data: + driver: local + driver_opts: + o: bind + type: none + device: /home/docker/appdaemon \ No newline at end of file diff --git a/docker_run.sh b/docker_run.sh deleted file mode 100755 index 4922579..0000000 --- a/docker_run.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -docker run -it \ --v /etc/localtime:/etc/localtime:ro \ --v /etc/timezone:/etc/timezone:ro \ --v /home/docker/appdaemon:/conf \ --p 5050:5050 \ ---name appdaemon \ ---restart unless-stopped \ --d \ -acockburn/appdaemon:dev