Questions tagged as 'docker-compose'

1
answer

Access database that is outside the docker environment

I created a microservice environment, more precisely 5 services, where they are connected to each other and access the same database (PostgreSQL). After development, I started to create the docker images for the services. All images have been cr...
asked by 13.08.2018 / 20:48
1
answer

How to properly dock-compose?

I need help understanding how to correctly do a docker-compose. I created an image and called it hello-nodemon: FROM node:latest ENV HOME=/src/jv-agricultor RUN mkdir -p $HOME/ WORKDIR $HOME/ ADD package* $HOME/ RUN npm install EXPOSE 3000...
asked by 14.07.2018 / 20:59
1
answer

Docker Postgres: 9.4, how to create schema in the database as soon as the container starts?

Hello, all quiet people? I am moving with docker-compose configuring a system with docker I am mapping volumes with * .sh files in the /docker-entrypoint-initdb.d/ directory to start the basic settings of my bank: version: '3.1' serv...
asked by 21.06.2018 / 15:37
0
answers

Orion with Docker

I'm trying to use Docker with the Orion server and the Ionic framework, but I can not set the header on the server to allow external sources, so when I go to the server through the application, it returns the error of no Access-Control-Allow-...
asked by 12.06.2018 / 19:15
0
answers

How to execute .SQL file in container with postgres?

With a container postgres:9.6 I'm trying to run a .sql file after the "upload" container for database creation and a table; postgres: image: postgres:9.6 volumes: - dados:/var/lib/postgresql/data - ./scripts:/scripts - ./sc...
asked by 11.06.2018 / 18:52
0
answers

How to change the ip of docker-file to run on different machines?

I installed this cluster of postgres using pgpool here on my machine: link So far so good, but everything is running locally and I want the cluster to run on several different machines, so I will create several different machines to inst...
asked by 27.04.2018 / 16:36
0
answers

Api node can not communicate with bank in docker

I have to do deploy of a software, I have WEB where FRONT , APISEG authentication and security of the software, API that makes all operations and the BANK with a sql server 2017 bank. Every project was developed with angular and...
asked by 04.04.2018 / 14:20
0
answers

Error in .war file deploy to a docker tomcat

I have a Spring Boot application and for reasons related to performance and configuration I have to deploy using a Tomcat server not the default built-in version of Spring Boot. But I'm wanting to use docker containers to scale this application....
asked by 15.03.2018 / 18:46
0
answers

How to create a php + mongodb container?

I would like to know how do I create a container where I can use mongodb in a php project? The way I'm doing does not work, I can not connect to the manager. docker-compose.yml version: "3.1" services: mysql: image: mysql:5.7 conta...
asked by 03.02.2018 / 22:51
0
answers

Install Laravel with Laradock

I just installed docker and consequently laradock, how do I install laravel now? since the composer command does not work     
asked by 15.01.2018 / 15:25