-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.yml
More file actions
55 lines (47 loc) · 1.91 KB
/
Copy pathdev.yml
File metadata and controls
55 lines (47 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
# ── air_pay — обработчик криптоплатежей ─────────────────────────────────────
pay:
build:
context: .
dockerfile: Dockerfile
logging:
driver: local
options:
max-size: 5m
max-file: 2
labels:
logging: loki
app: air
service: pay
tier: backend
image: pay:dev
container_name: pay_app
restart: unless-stopped
environment:
- TZ=America/Argentina/Buenos_Aires
# ── База данных (локальный сервер на хосте) ─────────────────────────────
- DB_HOST=air_db:3306
- DB_NAME=air
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
# ── ByBit конфигурация ──────────────────────────────────────────────────
- TESTNET=false
- API_KEY_FILE=/run/secrets/api_key
- SECRET_KEY_FILE=/run/secrets/secret_key
# ── Домен и порты смежных сервисов ───────────────────────────────────────
- REAL_URL=localhost
# ── Логирование ──────────────────────────────────────────────────────────
- LOG_LEVEL=debug
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- monitoring_shared
- air_shared
volumes:
- ./secrets/api_key.txt:/run/secrets/api_key:ro
- ./secrets/secret_key.txt:/run/secrets/secret_key:ro
networks:
monitoring_shared:
external: true
air_shared:
external: true