Skip to content

Comments

Lesson 7 alberto#30

Open
alberto-goitia-llovo wants to merge 7 commits intohectorcanto:mainfrom
alberto-goitia-llovo:lesson_7_alberto
Open

Lesson 7 alberto#30
alberto-goitia-llovo wants to merge 7 commits intohectorcanto:mainfrom
alberto-goitia-llovo:lesson_7_alberto

Conversation

@alberto-goitia-llovo
Copy link

@alberto-goitia-llovo alberto-goitia-llovo commented Nov 14, 2022

Fixen un merge da lesson4 para traer o arquivo de conf de nginx

Os últimos commits son os que corresponden a esta lección

Copy link
Owner

@hectorcanto hectorcanto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bo traballo

@@ -1 +1,5 @@
docker-compose ... No newline at end of file
docker-compose -f ex2.dkc.yml up -d
docker run mariadb:latest # Error detected > env variables needed > environment added to .yml
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bo apunte

docker-compose -f ex2.dkc.yml up -d
docker run mariadb:latest # Error detected > env variables needed > environment added to .yml
docker-compose -f ex2.dkc.yml up -d
docker exec -it lesson_7_exercises_db_1 mysql -uroot -proot -e "CREATE DATABASE lesson7"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

co porto de mariadb aberto e con mysqlclient no host, podes lanzar os comandos desde o host

ports:
- "8888:8888"
volumes:
- "/home/agoitia/curso_docker/docker_exercises/lesson_4/ex1.conf:/etc/nginx/nginx.conf"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

podes usar rutas relativas ao docker-compose.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants