services: knot: image: "registry.gitlab.com/recaptime-dev/infra/knot-server-docker" pull_policy: always build: context: . args: UID: 2897 GID: 2897 env_file: - .env.production volumes: - ./keys:/etc/ssh/keys - knot-repos:/home/git/repositories - knot-db:/app/db ports: - "44288:5555" - "33939:22" restart: always #frontend: # image: caddy:alpine # command: > # caddy # reverse-proxy # --from ${KNOT_SERVER_HOSTNAME} # --to knot:5555 # depends_on: # - knot # ports: # - ${KNOT_SERVER_PORT:-443}:443 # - ${KNOT_SERVER_PORT:-443}:443/udp # volumes: # - ./caddy_data:/data # restart: always # profiles: ["caddy"] volumes: knot-db: knot-repos: