services:
    homeserver:
        image: "forgejo.ellis.link/continuwuation/continuwuity:latest"
        restart: always
        command: /sbin/conduwuit
        ports:
            - 127.0.0.1:8008:8008
        volumes:
            - db:/var/lib/continuwuity
            - /opt/beeserver/matrix/resolv.conf:/etc/resolv.conf
            #- ./continuwuity.toml:/etc/continuwuity.toml
        environment:
            CONTINUWUITY_SERVER_NAME: secretbee.buzz
            CONTINUWUITY_DATABASE_PATH: /var/lib/continuwuity
            CONTINUWUITY_ADDRESS: 0.0.0.0
            CONTINUWUITY_PORT: 8008
            #CONTINUWUITY_CONFIG: '/etc/continuwuity.toml' # Uncomment if you mapped config toml above
            #CONTINUWUITY_WELL_KNOWN: |
            #    {
            #    client=https://secretbee.buzz,
            #    server=secretbee.buzz:443
            #    }

volumes:
    db:
