skip to Main Content

django in docker compose don't see posgresql

I have a problem with my django + postgresql docker compose. docker-compose.yml: version: '3.8' services: db: image: postgres:12.0-alpine volumes: - postgres_data:/var/lib/postgresql/data/ env_file: - ./.env web: build: . command: python MoreEnergy/manage.py runserver 0.0.0.0:8000 volumes: - ./MoreEnergy/:/MoreEnergy/ ports: - 8000:8000 env_file: -…

VIEW QUESTION
Back To Top
Search