# Development docker-compose with hot reloading version: '3.8' services: # PostgreSQL Database postgres: image: postgres:15-alpine container_name: hiling_postgres_dev environment: POSTGRES_USER: ${DB_USERNAME:-postgres} POSTGRES_PASSWORD: ${DB_PASSWORD:-password} POSTGRES_DB: ${DB_NAME:-hiling} volumes: - postgres_data_dev:/var/lib/postgresql/data ports: - "${DB_PORT:-5432}:5432" networks: - hiling_network_dev restart: unless-stopped # Meilisearch meilisearch: image: getmeili/meilisearch:v1.7 container_name: hiling_meilisearch_dev environment: MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-12rchaaonetdadaaoenh} MEILI_NO_ANALYTICS: "true" MEILI_ENV: development MEILI_HTTP_ADDR: 0.0.0.0:7700 volumes: - meilisearch_data_dev:/meili_data ports: - "${MEILI_PORT:-7700}:7700" networks: - hiling_network_dev restart: unless-stopped volumes: postgres_data_dev: driver: local meilisearch_data_dev: driver: local networks: hiling_network_dev: driver: bridge