Skip to content

Commit

Permalink
Move backup service definition out of development compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
dabico committed Jan 29, 2024
1 parent 53629fd commit f148bdb
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,6 @@ services:
POSTGRES_PASSWORD: ${DATABASE_PASS}
restart: always

labeling-backup:
container_name: labeling-backup
hostname: labeling-backup
image: tiredofit/db-backup:latest
volumes:
- /tmp/labeling/backup:/backup
networks: [ default ]
links: [ labeling-database ]
environment:
TZ: UTC
DB01_TYPE: pgsql
DB01_HOST: labeling-database
DB01_NAME: ${DATABASE_NAME}
DB01_USER: ${DATABASE_USER}
DB01_PASS: ${DATABASE_PASS}
DEFAULT_BACKUP_BEGIN: '0000'
DEFAULT_CLEANUP_TIME: '10080'
DEFAULT_EXTRA_BACKUP_OPTS: --data-only
DEFAULT_COMPRESSION: GZ
DEFAULT_CHECKSUM: SHA1
DEFAULT_CREATE_LATEST_SYMLINK: FALSE
CONTAINER_ENABLE_MONITORING: FALSE
CONTAINER_ENABLE_MESSAGING: FALSE
depends_on:
labeling-database:
condition: service_healthy
restart: always

labeling-server:
container_name: labeling-server
hostname: labeling-server
Expand Down

0 comments on commit f148bdb

Please sign in to comment.