forked from stoffels-it/django_initial_workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (35 loc) · 831 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (35 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3.0'
networks:
backend:
services:
database:
image: postgres
environment:
POSTGRES_NAME: dockerws
POSTGRES_USER: dockerws
POSTGRES_PASSWORD: dockerws
networks:
- backend
djangows:
build:
context: ./services/djangows
args:
WORKDIR: ${WORKDIR}
command: python3 manage.py runserver --settings=call_for_volunteers.settings 0.0.0.0:80
depends_on:
- database
networks:
- backend
ports:
- "127.0.0.1:80:80"
volumes:
- ./shared_folder:/shared
environment:
PosTGRES_NAME: dockerws
POSTGRES_USER: dockerws
POSTGRES_PASSWORD: dockerws
GIT_SSL_NO_VERIFY: 1
DJANGO_SUPERUSER_USERNAME: test
DJANGO_SUPERUSER_PASSWORD: test
PYTHONUNBuFFERED: 1
PYTHONDONTWRITEBYTECODE: 1