Skip to content
Snippets Groups Projects
Commit 29d08d44 authored by nimrod's avatar nimrod
Browse files

- Initial commit

parents
No related branches found
No related tags found
No related merge requests found
~*
*~
*.swp
syncevolution/
FROM ubuntu:xenial
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y syncevolution-http syncevolution && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
mkdir /syncevolution
COPY entrypoint.sh /entrypoint.sh
EXPOSE 9000
ENTRYPOINT ["/entrypoint.sh"]
CMD ["--start-dbus-session", "http://0.0.0.0:9000/syncevolution"]
The MIT License (MIT)
Copyright (c) 2016 Adar Nimrod
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# SyncEvolution Docker
SyncML over HTTP using SyncEvolution and Docker.
## On the server
Edit the IMEI variable inside the `docker-compose.yml` and run `docker-compose
up`.
## On the phone
Server URL: `http://servername:9000/syncevolution`
SyncML version: 1.1
Contacts remote database: `addressbook`
Calendar remote database: `calendar+todo`
Notes remote database: `memo`
For more information visit <https://syncevolution.org/wiki/http-server-howto>.
# License
This software is licensed under the MIT license (see the `LICENSE.txt` file).
# Author Information
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
[website](https://www.shore.co.il/). Patches are welcome via
[git send-email](http://git-scm.com/book/en/v2/Git-Commands-Email). The
repository is located at: <https://www.shore.co.il/git/>.
syncevolution:
build: ./
environment:
IMEI: "352724041305912"
ports:
- 9000:9000
volumes:
- ./syncevolution:/syncevolution
#!/bin/sh
set -eu
syncevolution --configure \
--template default \
--sync-property syncURL= \
--sync-property peerIsClient=1 \
--sync-property remoteDeviceId=IMEI:$IMEI \
--sync-property preventSlowSync=False \
--source-property uri= \
--source-property sync=none cellphone
syncevolution --configure \
--source-property type=file:text/vcard:3.0 \
--source-property evolutionsource=file:///syncevolution/addressbook \
cellphone addressbook
syncevolution --configure \
--source-property type=file:text/calendar:2.0 \
--source-property evolutionsource=file:///syncevolution/calendar \
cellphone calendar
syncevolution --configure \
--source-property type=file:text/calendar:2.0 \
--source-property evolutionsource=file:///syncevolution/todo \
cellphone todo
syncevolution --configure \
--source-property type=file:text/plain:1.0 \
--source-property evolutionsource=file:///syncevolution/memo \
cellphone memo
syncevolution --configure \
--source-property type=virtual:text/calendar:2.0 \
--source-property evolutionsource=calendar,todo \
cellphone calendar+todo
syncevolution --configure \
--source-property sync=slow \
cellphone addressbook calendar todo memo calendar+todo
exec /usr/bin/syncevo-http-server $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment