skip to Main Content

Docker serve NestJs on local network

I'm coding with NestJS and using Docker, I can't configure my own docker-compose file to serve on the local network card with IP 192.168.1.7. i saw this link before. Docker subnet: 192.168.65.0 networks: host: name: mamanpaz external: true lan_access: driver:…

VIEW QUESTION

Docker – How do I change the default database on postgres

It seems to me that Postgres is ignoring my envar and the sql script Here's my docker-compose version: '3.1' services: db: image: postgres restart: always environment: POSTGRES_PASSWORD: mysecretpassword PGDATA: /var/lib/postgresql/data/pgdata POSTGRES_DB: ecommerce volumes: - /custom/mount:/var/lib/postgresql/data - ./sql_script.sql:/docker-entrypoint-initdb.d/sql_script.sql ports: - 5432:5432…

VIEW QUESTION
Back To Top
Search