File tree Expand file tree Collapse file tree
01-contenedores/contenedores-vi Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- version : ' 3.3 '
1+ version : " 3.9 " # optional since v1.27.0
22services :
33 db :
44 image : mysql:5.7
@@ -30,6 +30,6 @@ services:
3030 - wordpress-network
3131volumes :
3232 db_data :
33- wordpress_data :
33+ wordpress_data :
3434networks :
35- wordpress-network:
35+ wordpress-network :
Original file line number Diff line number Diff line change 1- version : ' 3.8 '
1+ version : ' 3.9 '
22services :
33 frontend :
44 build :
Original file line number Diff line number Diff line change 1- FROM python:3.4-alpine
1+ FROM python:3.7.11-slim
2+
23ADD . /code
4+
35WORKDIR /code
6+
47RUN pip install -r requirements.txt
8+
9+ EXPOSE 8000
10+
511CMD ["python" , "app.py" ]
Original file line number Diff line number Diff line change 1- version : " 3.8 "
1+ version : " 3.9 "
22services :
3- web :
4- image : stackdemo
5- build : .
3+ web :
4+ image : 0gis0/stackdemo
5+ deploy :
6+ replicas : 2
67 ports :
7- - " 8000:8000 "
8+ - 8000
89 redis :
910 image : redis:alpine
You can’t perform that action at this time.
0 commit comments