We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
I'm probably stupid but I can't connect to the database with laravel. What should I put in the .env file? I've tried everything:
.env
this is my docker-composer:
services: php: image: swithfr/php:7.2 volumes: - ".:/var/www/laratest" nginx: image: nginx:latest volumes: - "./docker/nginx.conf:/etc/nginx/conf.d/default.conf" links: - php ports: - 8888:80 pg-master: image: swithfr/pgsql-replication restart:'always'. environment: POSTGRES_USER: "postgres POSTGRES_PASSWORD:'postgres'. PGDATA:'/var/lib/postgresql/data/pgdata' volumes: - '/var/lib/postgresql/data' exposes: - '5432' pg-slave: image: swithfr/pgsql-replication restart:'always'. environment: POSTGRES_USER: "postgres POSTGRES_PASSWORD:'postgres'. PGDATA:'/var/lib/postgresql/data/pgdata' REPLICATE_FROM: "pg-master volumes: - '/var/lib/postgresql/data' exposes: - '5432' links: - "pg-master
swithfr/pgsql-replication is a copy of your Dockerfile with just the addition of these lines
swithfr/pgsql-replication
RUN apt-get update RUN apt-get install iputils-ping -y
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
I'm probably stupid but I can't connect to the database with laravel. What should I put in the
.env
file?I've tried everything:
this is my docker-composer:
swithfr/pgsql-replication
is a copy of your Dockerfile with just the addition of these linesThe text was updated successfully, but these errors were encountered: