I have two
service A: It like a database service
service B: It like backend service
I want, service B can request to outside World (like curl google.com), and also connect to service A using alias (or something).
Because, I don’t want to public ip of service A to outside.
Is it posibile?
docker-compose.yml seem like that:
version: "3" services: serviceB: build: ./serviceB networks: - outside - default serviceA: build: ./serviceA networks: - default networks: outside: external: true