defaults_networks:
  internet:
    ip4: "127.0.0.1"       # Change this in inventory to the ip4 address of your server
    ip6: "::01"            # Change this in inventory to the ip6 address of your server
  local:
    # The default docker subnetworking does lead to overlapping and to huge networks.
    # Due to this reason networks with 16 ips are created.
    # This should be sufficient for the most cases

    # /28 Networks, 14 Usable Ip Addresses
    web-app-akaunting:
      subnet: 192.168.101.0/28
    web-app-attendize:
      subnet: 192.168.101.16/28
    web-app-baserow:
      subnet: 192.168.101.32/28
    web-app-mobilizon:
      subnet: 192.168.101.48/28
    web-app-bluesky:
      subnet: 192.168.101.64/28
    web-app-friendica:
      subnet: 192.168.101.80/28
    web-app-funkwhale:
      subnet: 192.168.101.96/28
    web-app-gitea:
      subnet: 192.168.101.112/28
    web-app-gitlab:
      subnet: 192.168.101.128/28
    web-app-joomla:
      subnet: 192.168.101.144/28
    web-app-keycloak:
      subnet: 192.168.101.160/28
    web-app-wordpress:
      subnet: 192.168.101.176/28
    web-app-listmonk:
      subnet: 192.168.101.192/28
    # Free:
    #  subnet: 192.168.101.208/28
    web-app-matomo:
      subnet: 192.168.101.224/28
    web-app-mastodon:
      subnet: 192.168.101.240/28
    web-app-matrix:
      subnet: 192.168.102.0/28
    web-app-mailu:
      # Use one of the last container ips for dns resolving so that it isn't used
      dns_resolver: 192.168.102.29
      subnet:       192.168.102.16/28
    web-app-moodle:
      subnet: 192.168.102.32/28
    web-app-mybb:
      subnet: 192.168.102.48/28
    web-app-nextcloud:
      subnet: 192.168.102.64/28
    web-app-openproject:
      subnet: 192.168.102.80/28
    web-app-peertube:
      subnet: 192.168.102.96/28
    web-app-phpmyadmin:
      subnet: 192.168.102.112/28
    web-app-pixelfed:
      subnet: 192.168.102.128/28
    web-app-pgadmin:
      subnet: 192.168.102.144/28
    web-app-snipe-it:
      subnet: 192.168.102.160/28
    web-app-taiga:
      subnet: 192.168.102.176/28
    web-app-yourls:
      subnet: 192.168.102.192/28
    web-app-discourse:
      subnet: 192.168.102.208/28
    web-app-sphinx:
      subnet: 192.168.102.224/28
    web-app-lam:
      subnet: 192.168.103.0/28
    web-app-phpldapadmin:
      subnet: 192.168.103.16/28
    web-app-fusiondirectory:
      subnet: 192.168.103.32/28
    web-app-navigator:
      subnet: 192.168.103.48/28
    web-app-espocrm:
      subnet: 192.168.103.64/28
    web-app-syncope:
      subnet: 192.168.103.80/28
    web-app-collabora:
      subnet: 192.168.103.96/28
    web-svc-simpleicons:
      subnet: 192.168.103.112/28
    web-app-libretranslate:
      subnet: 192.168.103.128/28
    web-app-pretix:
      subnet: 192.168.103.144/28
    web-app-mig:
      subnet: 192.168.103.160/28
    web-svc-logout:
      subnet: 192.168.103.176/28

    # /24 Networks / 254 Usable Clients
    web-app-bigbluebutton:
      # This network variable isn't used.
      # It's registered here to make transparent which network bbb is using and to avoid conflicts.
      subnet: 10.7.7.0/24
    svc-db-postgres:
      subnet: 192.168.200.0/24
    svc-db-mariadb:
      subnet: 192.168.201.0/24
    svc-db-openldap:
      subnet: 192.168.202.0/24
