Inside the docker compose file, I see there is backend or frontend in "networks" keyword. What does it use for ? Do I need to setup backend and frontend network ?
Thx
DockerUbuntuLinuxLinux OS DevLinux Distributions
Last Comment
ssvl
8/22/2022 - Mon
ssvl
Those are place holder options for your isolated network configs eg:-
version: "3"services: proxy: build: ./proxy networks: - frontend app: build: ./app networks: - frontend - backend db: image: postgres networks: - backendnetworks: frontend: # Use a custom driver driver: custom-driver-1 backend: # Use a custom driver which takes special options driver: custom-driver-2 driver_opts: foo: "1" bar: "2
Open in new window