Untitled
unknown
plain_text
2 years ago
583 B
4
Indexable
version: "3" services: db: image: postgres:15 restart: always environment: POSTGRES_USER: me POSTGRES_PASSWORD: petar POSTGRES_DB: ads volumes: - ./init.sql:/docker-entrypoint-initdb.d/init.sql ports: - "5433:5433" healthcheck: test: ["CMD-SHELL", "pg_isready -U docker"] interval: 5s timeout: 10s retries: 5 server: ports: - "3000:3000" depends_on: - db build: ./server client: networks: build: ./client ports: - "8080:8080" depends_on: - server
Editor is loading...