-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
49 lines (44 loc) · 1.13 KB
/
docker-compose.yml
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
40
41
42
43
44
45
46
47
48
49
version: '3'
services:
django:
restart: unless-stopped
build:
context: ./autograder-server
dockerfile: Dockerfile-django-dev
container_name: typescript-cli-django
ports:
- "9000:9000"
volumes:
- ./autograder-server:/usr/src/app
command: >-
python3 manage.py runserver 0.0.0.0:9000
env_file:
- ./autograder-server/_dev.env
environment:
# Set to false to disable real authentication. Any other string value
# will enable real authentication.
# Then, using a browser plugin such as EditThisCookie, set the
# cookie "username=<email>" to set which user you want to
# authenticate as.
USE_REAL_AUTH: 'false'
postgres:
restart: unless-stopped
image: postgres:9.5
container_name: typescript-cli-postgres
expose:
- "5432"
command: postgres
environment:
POSTGRES_PASSWORD: 'postgres'
redis:
restart: unless-stopped
image: redis:latest
expose:
- "6379"
rabbitmq:
image: 127.0.0.1:5000/rabbitmq
restart: unless-stopped
image: rabbitmq:latest
hostname: rabbit
expose:
- "5672"