37 lines
778 B
YAML
37 lines
778 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
restapi-server-oracle:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.oracle
|
|
container_name: restapi-server-oracle
|
|
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-oracle
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
networks:
|
|
restapi-network-oracle:
|
|
driver: bridge
|