Questions tagged [Docker] (777)

1
answer

If Docker for a personal vps with self-hosted projects?

Hello! Have a personal VPS on Debian, which turns a whole zoo of different software. But me and a couple man no one uses them, so about any load distribution of the question; the goal is to save time when migrating between vps hosters (Hello Igor and masterkhost), given that backups the DB and so do, raises only the questio...
Abbey95 asked April 19th 20 at 12:44
0
answer

Where are my media and static files when I use docker compose?

I use docker compose to deploy my django-nginx-gunicorn-postgres projects, despite the fact that I was able for the lessons to start and configure my projects, I have little understanding of many things. For example Where are my media and static files when I use docker compose? When I call docker-compose-f myproject.yml run...
Louie_Carter asked April 19th 20 at 12:42
3
answers

How to traverse a folder from the container in lokalny folder?

Is it possible when you run to traverse all of the files that is in the container on the local machine? -v /root/test/root/test deletes the files inside the container (and the container they were there), that is, there is a mapping from local to container. But I need the opposite. The problem initially is this: the car ha...
keanu.Langosh asked April 19th 20 at 12:40
0
answer

Docker app how to update?

There is a project on laravel docker I have already deployed container deploys the script copies the repository and removes unnecessary files question how can I auto update the project or just to replace the docker file just after the script works, it deletes the source code and politi round impossible itself docker file an...
Kathleen_Farrell78 asked April 19th 20 at 12:35
1
answer

Forwarding ports in Docker?

Good day! I just started working with Docker and I have the following question: I can start the container like this: docker run-d-p 3301:80 img1 As I understand it, so I probressive port 3301 on port 80 in the container. Does this mean that everything sent to port 80 inside the container coming to port 3301 outside the cont...
eliezer.West98 asked April 19th 20 at 12:14
2
answers

How to configure nginx in docker-compose?

Hi I can not understand why but does not have a website configured via docker-compose version: '3.1' services: nginx: image: nginx:latest ports: - 80:80 - 443:443 volumes: - ./hosts/mysite.local.conf:/etc/nginx/conf.d/mysite.local.conf - ./www:/var/www - ./www:/usr/share/nginx - ./logs:/var/log/nginx depends_...
amely.Ha asked April 19th 20 at 12:13
0
answer

How to work with wildcard certificate from localhost?

There is an internal work service signed wildcard certificate. More precisely: set up https for the service, and tossed the Sert and configured for the host job site https. But for domain names 4-level https is not working. that is : https://sitename.domain.com - works https://temp1.sitename.domain.com - does not work. O...
barton_Hilpert asked April 19th 20 at 12:07
1
answer

How to highlight the message at the end of the program?

Let's say eating such a simple code. func main() { fmt.Println("start") defer func() { fmt.Println("stop") }() Run() fmt.Scanln() } Zapuskaetsa he contenere. If happen error in Run both messages are highlighted and the start and stop, and if I stanovova container, the messages will not stop. How to make so that stan...
Bettie_Bode asked April 19th 20 at 12:06
1
answer

How to enter password for postgres via docker?

Hello! Help to understand please. Run django and postgresql docker-compose. The contents of the docker-compose.yml: version: '3' services: web: build: ./t_kontakta command: python3 manage.py runserver 0.0.0.0:8000 volumes: - ./t_kontakta:/data ports: - "8000:8000" depends_on: - db db: image: postgres restart: always...
Rosie.Marks6 asked April 19th 20 at 12:02
1
answer

How to make Docker with the project quickly and correctly, MB has a manual?

Do not ever use a dock, hands did not reach to try and understand. Now the client wants that I developed him a simple saytets php+mariadb and put in a Docker container. Maybe there is a manual or you have some sort of order commands, how to wrap apache, mariadb, php7.1 the project itself in a container? as it would be less ...
Jamison asked April 19th 20 at 11:58