services: cgit: image: docker.io/memdmp/cgit:local-build build: context: . dockerfile: ./Containerfile volumes: - cgit_ssh:/etc/ssh:rw - ./cgit/repos:/var/lib/git:rw - ./cgit/zshhist:/root/.zsh_history:rw # Copy these directories from the container first, then uncomment to modify things: # - ./cgit/caddy:/etc/caddy:ro # - ./cgit/html-converters:/usr/lib/cgit/filters/html-converters:ro # - ./cgit/extra-filters:/usr/lib/cgit/filters/extra:ro # consider specifying each file rather than the whole dir!! ports: - 127.0.0.1:18080:80 - 127.0.0.1:12222:22 env_file: - .env volumes: cgit_ssh: