Skip to content

Commit cdef422

Browse files
committed
volumes changed
1 parent b834560 commit cdef422

10 files changed

+25
-5
lines changed

Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM python:3.10
22

33
WORKDIR /app
4-
54
COPY requirements.txt .
65

76
RUN pip install -r requirements.txt

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
PYTHON= python3
22
MANAGE= venv/bin/python manage.py
33
ACTIVATE=. venv/bin/activate
4-
54
# Django Configrations
65
PORT= 8009
76

docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ version: '3'
33
services:
44
app:
55
volumes:
6-
- media:/app/media
7-
- db:/app/db.sqlite3
6+
- media:/app/media/
7+
- ./db.sqlite3:/app/db.sqlite3
88
build: .
99
ports:
1010
- "8081:8081"
1111
command: gunicorn --bind 0.0.0.0:8081 main.wsgi
1212

1313
volumes:
1414
media:
15-
db:
15+

forms/__pycache__/apps.cpython-38.pyc

-437 Bytes
Binary file not shown.
-610 Bytes
Binary file not shown.
-2.2 KB
Binary file not shown.

forms/__pycache__/urls.cpython-38.pyc

-338 Bytes
Binary file not shown.
-716 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Generated by Django 4.0.8 on 2023-07-30 12:34
2+
3+
import django.core.files.storage
4+
import django.core.validators
5+
from django.db import migrations, models
6+
import forms.models
7+
import pathlib
8+
9+
10+
class Migration(migrations.Migration):
11+
12+
dependencies = [
13+
('forms', '0006_alter_registeration_resume'),
14+
]
15+
16+
operations = [
17+
migrations.AlterField(
18+
model_name='registeration',
19+
name='resume',
20+
field=models.FileField(blank=True, null=True, storage=django.core.files.storage.FileSystemStorage(location=pathlib.PurePosixPath('/home/lucifer/join.istenith.com/media')), upload_to='resumes/', validators=[forms.models.file_size, django.core.validators.FileExtensionValidator(allowed_extensions=['pdf', 'docx'])]),
21+
),
22+
]
-3.01 KB
Binary file not shown.

0 commit comments

Comments
 (0)