Skip to content

Commit

Permalink
Carpeta volumenes agregada
Browse files Browse the repository at this point in the history
  • Loading branch information
aminespinoza10 committed Nov 7, 2024
1 parent 20ea574 commit e7d01d3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Volumenes/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
services:
web:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./html:/usr/share/nginx/html

app:
image: aminespinoza/websiteplatzi:latest
volumes:
- app_data:/app/data

db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: example
volumes:
- db_data:/var/lib/mysql

volumes:
app_data:
db_data:
3 changes: 3 additions & 0 deletions Volumenes/html/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<html>
<body>Mi página de inicio personalizada como volumen compartido desde mi entorno local</body>
</html>

0 comments on commit e7d01d3

Please sign in to comment.