/
Multik
/
gophkeeper
Обзор
Документация
Войти
/
Multik
/
gophkeeper
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docker-compose.yml
33 строки
670 B
Dmitry Patin
add docker-compose.yml local
08 июл 2025, 18:46
08 июл 2025, 18:46
e303637
Код
Авторство
О чём код?
services: postgres: image: postgres:16.8 container_name: pg_gophkeeper restart: always environment: - POSTGRES_DB=gophkeeper - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - POSTGRES_HOST=localhost - POSTGRES_PORT=5432 volumes: - postgres_data:/var/lib/postgresql/data/ healthcheck: test: [ "CMD-SHELL", "pg_isready -U postgres -d gophkeeper" ] interval: 10s timeout: 3s retries: 3 start_period: 5s ports: - "5432:5432" networks: - services volumes: postgres_data: networks: services: #postgresql://postgres:postgres@localhost:5432/gophkeeper