Commit 15390adc by Christophe Angeli

remove backup

parent eaf48cc6
...@@ -63,8 +63,6 @@ Edit docker-compose.yml and modify the environment variables to suit your needs. ...@@ -63,8 +63,6 @@ Edit docker-compose.yml and modify the environment variables to suit your needs.
There are default values for the SMTP configuration, There are default values for the SMTP configuration,
so you can delete those SMTP_* variables if you don't need this feature. so you can delete those SMTP_* variables if you don't need this feature.
Also, you can choose to delete the local backup service (based on https://hub.docker.com/r/prodrigestivill/postgres-backup-local/).
``` bash ``` bash
docker-compose up -d docker-compose up -d
``` ```
......
...@@ -37,25 +37,5 @@ services: ...@@ -37,25 +37,5 @@ services:
- restya-net - restya-net
restart: always restart: always
backup:
image: prodrigestivill/postgres-backup-local
volumes:
- /var/opt/restya/pgbackups:/backups
environment:
- POSTGRES_HOST=postgres
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=restyaboard
- POSTGRES_EXTRA_OPTS=-Z9 --schema=public --blobs
- SCHEDULE=@every 2h
- BACKUP_KEEP_DAYS=2
- BACKUP_KEEP_WEEKS=4
- BACKUP_KEEP_MONTHS=6
depends_on:
- postgres
networks:
- restya-net
restart: always
networks: networks:
restya-net: restya-net:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment