Remove api_tp from docker-compose.yml (service already deleted)
This commit is contained in:
@@ -55,8 +55,6 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
certbot:
|
certbot:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
api_tp:
|
|
||||||
condition: service_healthy
|
|
||||||
api_bb:
|
api_bb:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
analytics:
|
analytics:
|
||||||
@@ -120,42 +118,6 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 40s
|
start_period: 40s
|
||||||
|
|
||||||
# REST API app on Golang (Gorm, Chi) бизнес логика приложения yalarba.ru. Работает с БД на PostgresQL db:db_tp
|
|
||||||
api_tp:
|
|
||||||
build:
|
|
||||||
context: ./yalarba/api_tp
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
|
||||||
- "8888:8080"
|
|
||||||
container_name: api_tp
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
db:
|
|
||||||
condition: service_healthy
|
|
||||||
environment:
|
|
||||||
# Database connection settings
|
|
||||||
DB_HOST: db
|
|
||||||
DB_PORT: 5432
|
|
||||||
DB_USER: postgres
|
|
||||||
DB_PASSWORD: postgres
|
|
||||||
DB_NAME: mydb
|
|
||||||
APP_PORT: 8080
|
|
||||||
networks:
|
|
||||||
- app-network
|
|
||||||
healthcheck:
|
|
||||||
test:
|
|
||||||
[
|
|
||||||
"CMD",
|
|
||||||
"wget",
|
|
||||||
"--no-verbose",
|
|
||||||
"--tries=1",
|
|
||||||
"--spider",
|
|
||||||
"http://localhost:8080/health",
|
|
||||||
]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
|
|
||||||
# PostgresQL DB база данных для храниния информации приложений Yalarba.ru && Easysite102.ru
|
# PostgresQL DB база данных для храниния информации приложений Yalarba.ru && Easysite102.ru
|
||||||
db:
|
db:
|
||||||
image: postgres:15-alpine
|
image: postgres:15-alpine
|
||||||
|
|||||||
Reference in New Issue
Block a user