Files
antigravity/docker-compose.yml
2025-12-19 15:44:52 +02:00

33 lines
1005 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: '3.8'
services:
antigravity_core:
build: .
container_name: antigravity_core
restart: unless-stopped
# Підключаємося до тієї ж мережі, де живуть Postgres і Gitea
networks:
- stack_app_net
volumes:
- ./data:/app/data
environment:
- TZ=Europe/Kiev
# == INTEGRATION MAPPING ==
# Достукуємось до сервісів за їх іменами з основного docker-compose
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=postgres # (Або змінна, якщо ми її передамо через secrets)
# - DB_PASSWORD=... (Краще не хардкодити, а брати з .env сервера, але поки лишимо так)
- GITEA_HOST=gitea
- GITEA_PORT=3000
- GITEA_URL=http://gitea:3000
networks:
# Кажемо, що ця мережа вже створена іншим стеком
stack_app_net:
external: true