Files
moded_distructive_farm/docker-compose.yaml
Ilyastarcek e9cf63c1fb fix
2025-11-07 15:57:27 +03:00

27 lines
518 B
YAML

services:
# Application service
farm:
build:
context: ./server/
dockerfile: Dockerfile
depends_on:
postgres:
condition: service_healthy
# networks:
# - security_net
restart: "always"
ports:
- "3333:8000"
postgres:
image: postgres:18
environment:
POSTGRES_USER: farm
POSTGRES_PASSWORD: asdasdasd
POSTGRES_DB: farmdb
healthcheck:
test: pg_isready -U farm -d farmdb
interval: 10s
timeout: 3s
retries: 3