Answers for "docker compose vol"

0

docker compose vol

# Mount host paths or named volumes, specified as sub-options to a service
  db:
    image: postgres:latest
    volumes:
      - "/var/run/postgres/postgres.sock:/var/run/postgres/postgres.sock"
      - "dbdata:/var/lib/postgresql/data"

volumes:
  dbdata:
Posted by: Guest on April-19-2021

Browse Popular Code Answers by Language