1 2 3 4 5 6 7 8 9 10 11 12 13 14
--- services: synchronizer: build: . volumes: - ~/.ssh:/root/.ssh:ro # Wherever your ssh keys are. - ~/.synchronizer.yml:/root/.synchronizer.yml:ro # Or somewhere else networks: - synchronizer_net restart: unless-stopped networks: synchronizer_net: driver: bridge