/
bi01
/
hashing_service
Обзор
Документация
Войти
/
bi01
/
hashing_service
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
deploy/docker-compose.yml
44 строки
778 B
Oleg Biryukov
Create /api/hashing/line:? endpoint.
15 июл 2024, 12:03
15 июл 2024, 12:03
5b7c017
Код
Авторство
О чём код?
services: server: container_name: server hostname: server build: dockerfile: ./deploy/Dockerfile cache_from: - golang:1.22.5-bookworm context: . target: builder network: host args: TZ: Europe/Moscow TARGETARCH: amd64 volumes: - .:/workspace/ command: ["/bin/server", "start"] env_file: - .env expose: - 8000 ports: - 8000:8000 depends_on: redis: condition: service_healthy redis: image: redis container_name: hs-redis hostname: hs-redis restart: unless-stopped expose: - 6379 ports: - 6379:6379 healthcheck: test: redis-cli ping interval: 1s timeout: 3s retries: 30 volumes: db-data: