name: document services: document: # Use pre-built image from GitHub Container Registry image: ghcr.io/ranuts/document:latest # To build locally instead, comment out the image line above and uncomment the build section below: # build: # context: . # dockerfile: Dockerfile container_name: document ports: - 8080:80 # Advanced configuration # volumes: # # Certificate # - certificate_path:/ssl # environment: # # Account # # Format username:password, must use BCrypt password hash function to encode the password. # # Get the BCrypt encrypted result, replace $ in the encrypted result with $$ for escaping. # SERVER_BASIC_AUTH: "username:BCrypt_encrypted_password" # # Certificate # SERVER_HTTP2_TLS: true # SERVER_HTTP2_TLS_CERT: certificate_path # SERVER_HTTP2_TLS_KEY: private_key_path