Add explicit network asingation and alias on devenv compose

This commit is contained in:
Andrey Antukh
2025-11-24 11:08:39 +01:00
parent f58475a7c9
commit a7552d412a

View File

@@ -115,6 +115,11 @@ services:
volumes: volumes:
- "valkey_data:/data" - "valkey_data:/data"
networks:
default:
aliases:
- redis
mailer: mailer:
image: sj26/mailcatcher:latest image: sj26/mailcatcher:latest
restart: always restart: always
@@ -123,6 +128,12 @@ services:
ports: ports:
- "1080:1080" - "1080:1080"
networks:
default:
aliases:
- mailer
# https://github.com/rroemhild/docker-test-openldap # https://github.com/rroemhild/docker-test-openldap
ldap: ldap:
image: rroemhild/test-openldap:2.1 image: rroemhild/test-openldap:2.1
@@ -136,3 +147,9 @@ services:
nofile: nofile:
soft: 1024 soft: 1024
hard: 1024 hard: 1024
networks:
default:
aliases:
- ldap