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 run.env
tags tags
*.swp *.swp
.DS_Store

View File

@ -10,8 +10,7 @@ services:
ports: ports:
- 8080:80 - 8080:80
volumes: volumes:
- akaunting-data:/var/www/html/storage - akaunting-data:/var/www/html
- akaunting-modules:/var/www/html/modules
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- env/run.env - env/run.env
@ -29,13 +28,6 @@ services:
env_file: env_file:
- env/db.env - env/db.env
akaunting-update:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --cleanup akaunting akaunting-db
volumes: volumes:
akaunting-data: akaunting-data:
akaunting-modules:
akaunting-db: akaunting-db:

View File

@ -28,12 +28,6 @@ services:
env_file: env_file:
- env/db.env - env/db.env
akaunting-update:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --cleanup akaunting akaunting-db
volumes: volumes:
akaunting-data: akaunting-data:
akaunting-db: akaunting-db: