--- networks: forgejo: external: false services: server: image: codeberg.org/forgejo/forgejo:9.0.3 restart: always environment: USER_UID: 1000 USER_GID: 1000 GITEA____APP_NAME: JILITS Git GITEA____APP_SLOGAN: Cloud Solutions with Integrity GITEA__database__DB_TYPE: postgres GITEA__database__HOST: db:5432 GITEA__database__NAME: ${POSTGRES_DB} GITEA__database__USER: ${POSTGRES_USER} GITEA__database__PASSWD: ${POSTGRES_PASSWORD} GITEA__server__DOMAIN: git.jilits.se GITEA__server__SSH_PORT: 2222 GITEA__server__LANDING_PAGE: /explore/repos GITEA__server__OFFLINE_MODE: "true" GITEA__openid__ENABLE_OPENID_SIGNIN: "false" GITEA__service__DISABLE_REGISTRATION: "true" GITEA__service__NO_REPLY_ADDRESS: noreply.git.jilits.se GITEA__mailer__ENABLED: "true" GITEA__mailer__PROTOCOL: smtp GITEA__mailer__SMTP_ADDR: mail.jilits.se GITEA__mailer__SMTP_PORT: 587 GITEA__mailer__FROM: Forgejo GITEA__mailer__USER: ${SMTP_USER} GITEA__mailer__PASSWD: ${SMTP_PASS} GITEA__time__FORMAT: "2007-01-02 15:04:05" GITEA__other__SHOW_FOOTER_VERSION: "false" networks: - forgejo volumes: - forgejo:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - "8002:3000" - "2222:22" depends_on: - db db: image: postgres:15.5-alpine3.19 restart: always environment: POSTGRES_DB: ${POSTGRES_DB} POSTGRES_USER: ${POSTGRES_USER} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} networks: - forgejo volumes: - db:/var/lib/postgresql/data volumes: forgejo: db: