This commit is contained in:
Ilyastarcek
2025-11-07 15:57:27 +03:00
parent 1aff196155
commit e9cf63c1fb
14 changed files with 10232 additions and 10232 deletions

26
docker-compose.yaml Normal file
View File

@@ -0,0 +1,26 @@
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