Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 742 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 742 Bytes

Docker - Unity Cache Server

Unity Cache Server server container

Usage

Run docker-compose up -d After a minute Unity Cache Server should be listening on ports 8126.

docker-compose.yml

version: '3'
services:
    server:
        image: erikaulin/unitycacheserver:latest
        container_name: unitycacheserver
        ports:
          - "8126:8126"
        volumes:
            - cachevolume:/opt/cache
volumes:
    cachevolume:

Dockerfile

FROM node:8-alpine

LABEL MAINTAINER="Erik Aulin [email protected]"

RUN npm install unity-cache-server -g && \
    npm cache clean --force && \
    mkdir -p /opt/cache

CMD ["unity-cache-server", "-P", "/opt/cache"]

Maintainers