├── .gitignore ├── Dockerfile └── README /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .AppleDouble 3 | .LSOverride 4 | 5 | # Icon must end with two \r 6 | Icon 7 | 8 | 9 | # Thumbnails 10 | ._* 11 | 12 | # Files that might appear in the root of a volume 13 | .DocumentRevisions-V100 14 | .fseventsd 15 | .Spotlight-V100 16 | .TemporaryItems 17 | .Trashes 18 | .VolumeIcon.icns 19 | 20 | # Directories potentially created on remote AFP share 21 | .AppleDB 22 | .AppleDesktop 23 | Network Trash Folder 24 | Temporary Items 25 | .apdisk 26 | 27 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | ## -*- docker-image-name: "clma/docker-turtl" -*- 2 | # 3 | # turtl.it unofficial API Dockerfile 4 | # 5 | 6 | FROM nfnty/arch-mini:latest 7 | MAINTAINER clma 8 | 9 | RUN mkdir /quicklisp /data 10 | 11 | RUN pacman -Sy sbcl git libuv gcc --noconfirm 12 | RUN curl -O https://beta.quicklisp.org/quicklisp.lisp && sbcl --load quicklisp.lisp <<< $'(quicklisp-quickstart:install :path "/quicklisp/")' 13 | 14 | RUN git clone https://github.com/turtl/api.git --depth 1 /turtl 15 | 16 | RUN echo $'(load "/quicklisp/setup.lisp")\n(push #p"/turtl/" asdf:*central-registry*)\n(load "start")' > /turtl/cmd.args 17 | RUN echo '/usr/bin/sbcl < /turtl/cmd.args' > /turtl/run.sh 18 | 19 | VOLUME ["/turtl/config", "/data"] 20 | 21 | # auto link default config (?) 22 | #ADD /turtl/config/config.default.lisp /turtl/config/config.lisp 23 | 24 | 25 | WORKDIR /turtl 26 | 27 | EXPOSE 8181 28 | 29 | CMD ["/usr/bin/bash" , "/turtl/run.sh"] 30 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | # A Dockerfile for https://turtl.it/ 2 | 3 | I created this file to run Turtl on my server. No guarantees that it works for you - however its fairly simple so have a look! 4 | --------------------------------------------------------------------------------