mirror of https://github.com/akaunting/docker.git
Drop the watchtower and simplify volumes
This commit is contained in:
parent
863d9b48dd
commit
8081d1e3a4
|
@ -2,3 +2,4 @@ db.env
|
|||
run.env
|
||||
tags
|
||||
*.swp
|
||||
.DS_Store
|
||||
|
|
|
@ -10,8 +10,7 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- akaunting-data:/var/www/html/storage
|
||||
- akaunting-modules:/var/www/html/modules
|
||||
- akaunting-data:/var/www/html
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- env/run.env
|
||||
|
@ -29,13 +28,6 @@ services:
|
|||
env_file:
|
||||
- env/db.env
|
||||
|
||||
akaunting-update:
|
||||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: --cleanup akaunting akaunting-db
|
||||
|
||||
volumes:
|
||||
akaunting-data:
|
||||
akaunting-modules:
|
||||
akaunting-db:
|
||||
|
|
|
@ -28,12 +28,6 @@ services:
|
|||
env_file:
|
||||
- env/db.env
|
||||
|
||||
akaunting-update:
|
||||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: --cleanup akaunting akaunting-db
|
||||
|
||||
volumes:
|
||||
akaunting-data:
|
||||
akaunting-db:
|
||||
|
|
Loading…
Reference in New Issue