switched to docker-compose to make a named volume for the appdaemon data
This commit is contained in:
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user