version: "3" services: t-ssp: build: ssp container_name: t-ssp # ports: # - "8010:80" networks: trygvis_net: ipv4_address: 172.90.0.10 env_file: - ./secrets/t-ssp.env t-ldap: image: dinkel/openldap container_name: t-openldap environment: SLAPD_PASSWORD: "secret" SLAPD_DOMAIN: "trygvis.io" SLAPD_CONFIG_PASSWORD: "secret" networks: trygvis_net: ipv4_address: 172.90.0.20 volumes: - ssp-etc:/etc/ldap - ssp-data:/var/lib/ldap networks: trygvis_net: ipam: config: - subnet: 172.90.0.0/16 volumes: ssp-etc: external: name: t-ssp-etc ssp-data: external: name: t-ssp-data