version: '3.8' services: restapi-server: build: context: . dockerfile: Dockerfile target: production container_name: restapi-server ports: - "5577:5577" environment: - NODE_ENV=production - DB_HOST=39.117.244.52 - DB_PORT=11521 - DB_DATABASE=XE - DB_USERNAME=wace - DB_PASSWORD=wace0909!! - PORT=5577 restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5577/api/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s networks: - restapi-network logging: driver: "json-file" options: max-size: "10m" max-file: "3" networks: restapi-network: driver: bridge