services: api: build: context: . dockerfile: Dockerfile.api volumes: # db.json jest montowany, więc zmiany danych przeżywają restart kontenera - ./db.json:/app/db.json ports: - "3001:3001" restart: unless-stopped frontend: build: context: . dockerfile: Dockerfile args: VITE_API_URL: /api ports: - "80:80" depends_on: - api restart: unless-stopped