Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 496 Bytes

DockerCompose1.md

File metadata and controls

25 lines (21 loc) · 496 Bytes

Docker-Compose

We will be using docker compose to create 5 containers :

  • grpc-gen (to generate the protobuf compiled files)
  • golang
  • svelte
  • envoy
  • postgres

To initalize it, create a compose.yml file with a postgres image :

version: '3.9'

services:
    postgres:
        image: postgres
        ports:
        - 5432:5432
        environment:
        POSTGRES_PASSWORD: postgres
        POSTGRES_USER: postgres
        POSTGRES_DB: grpctodo

Continue