File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ COPY . .
17
17
# Copia los scripts y cambia el archivo de settings
18
18
COPY scripts /app/scripts
19
19
RUN chmod +x /app/scripts/init.sh
20
- RUN mv /app/SoftServeAcademy/settings_deployment.py /app/SoftServeAcademy/settings.py
21
20
22
21
# Configura variables de entorno
23
22
ENV PYTHONDONTWRITEBYTECODE 1
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ The MVP will include the basic functionalities necessary to allow users to creat
95
95
96
96
3. ** Run the Docker Compose:**
97
97
` ` ` bash
98
- sudo docker compose up -d
98
+ sudo docker compose up -d --pull always
99
99
` ` `
100
100
101
101
And that' s it! You can now access the application opening your web browser and going to `http://localhost/`, this runs on the port 80 by default.
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ services:
2
2
web :
3
3
image : quitotactico/softserve-academy
4
4
command : ["sh", "/app/scripts/init.sh"]
5
+ environment :
6
+ - DJANGO_SETTINGS_MODULE=SoftServeAcademy.settings_deployment
5
7
depends_on :
6
8
- db
7
9
ports :
@@ -10,7 +12,7 @@ services:
10
12
- django-network
11
13
12
14
db :
13
- image : mysql:5.7
15
+ image : mysql:8.0
14
16
environment :
15
17
MYSQL_ROOT_PASSWORD : 1234
16
18
MYSQL_USER : admin
You can’t perform that action at this time.
0 commit comments