Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Compose File Example #11

Open
raindancer2204 opened this issue Oct 23, 2022 · 1 comment
Open

Docker Compose File Example #11

raindancer2204 opened this issue Oct 23, 2022 · 1 comment

Comments

@raindancer2204
Copy link

Hello,

i think this project is really great.

I've also read the documentation.

Would it be possible to show the examples as Docker Compose.yaml in the documentation?

It would really simplify things.

Thank you and keep it up

@cat0x1f
Copy link

cat0x1f commented Dec 25, 2024

This is my docker compose sample of rsync to my nas (via nfs)

version: "3.3"
services:
  rsync:
    container_name: rsync_client
    volumes:
      - ssh-key:/root/.ssh
      - remote-nfs:/remote
      - /docker:/local
    environment:
      - CRON_TASK_1=0 0 * * * rsync -rva --delete /local/ /remote/
    image: eeacms/rsync
    command: client
    restart: unless-stopped
    network_mode: host
volumes:
  ssh-key: null
  remote-nfs:
    driver: local
    driver_opts:
      type: nfs
      o: addr=10.8.2.10,nolock,soft,rw,vers=4
      device: :/mnt/catpool/backup/HomeDocker
networks: {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants