Drop the watchtower and simplify volumes

This commit is contained in:
Mohammed Al-Mahdawi 2023-02-25 17:39:18 +03:00
parent 863d9b48dd
commit 8081d1e3a4
3 changed files with 2 additions and 15 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ db.env
run.env
tags
*.swp
.DS_Store

View File

@ -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:

View File

@ -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: