docker-compose.yml 315 B

1234567891011121314151617
  1. version: '3.3'
  2. services:
  3. sqldump:
  4. container_name: db_sqldump
  5. image: mariadb:10.6
  6. volumes:
  7. - ./data/:/mnt/backup/
  8. restart: always
  9. networks:
  10. - db_default
  11. env_file:
  12. - .env
  13. entrypoint: mnt/backup/dump.sh
  14. networks:
  15. db_default:
  16. external: true