Unity Cache Server server container
Run docker-compose up -d
After a minute Unity Cache Server should be listening on ports 8126.
version: '3'
services:
server:
image: erikaulin/unitycacheserver:latest
container_name: unitycacheserver
ports:
- "8126:8126"
volumes:
- cachevolume:/opt/cache
volumes:
cachevolume:
FROM node:8-alpine
LABEL MAINTAINER="Erik Aulin erik@aulin.co"
RUN npm install unity-cache-server -g && \
npm cache clean --force && \
mkdir -p /opt/cache
CMD ["unity-cache-server", "-P", "/opt/cache"]