version: "3" #networks: # hostea-dash-forgejo: # external: false # hostea-dash-smtp: # external: false services: forgejo: image: codeberg.org/forgejo/forgejo:1.18.0-1 container_name: hostea-dash-forgejo network_mode: host environment: - USER_UID=1000 - USER_GID=1000 restart: always #networks: # - hostea-dash-forgejo volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro #ports: # - "8080:3000" # - "2221:22" smtp: image: maildev/maildev:latest restart: always container_name: hostea-dash-maildev network_mode: host #networks: # - hostea-dash-smtp environment: - MAILDEV_SMTP_PORT=10025 - MAILDEV_INCOMING_USER=admin - MAILDEV_INCOMING_PASS=password #ports: # - "10025:10025" # - "1080:1080"