# Comments are provided throughout this file to help you get started.
# If you need more help, visit the Docker compose reference guide at
# https://docs.docker.com/compose/compose-file/
# Here the instructions define your application as a service called
# "git-gemini-forge". This service is built from the Dockerfile in
# the current directory.
services:
git-gemini-forge:
build:
context: .
target: final
# Comment out the "build" section above and uncomment "image" below
# to pull from the published container repository instead of building
# from the local Dockerfile:
# image: git.average.name/averagehelper/git-gemini-forge:latest
container_name: git-gemini-forge
restart: unless-stopped
# Configure how to connect to your git forge:
environment:
# Platform type informs the server how to communicate with the forge.
- PLATFORM_TYPE=forgejo
- FORGE_URL=http://localhost:3000
volumes:
- ".certs:/app/.certs:ro"
ports:
# If you need to run the server on a different port, then change the below
# config. (e.g. For port 8000, use "8000:1965")
- 1965:1965