-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathdocker-compose.yml
40 lines (39 loc) · 938 Bytes
/
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
# Use this stack for development
version: '3'
services:
django:
build:
context: ./guacozy_server/
restart: always
depends_on:
- db
volumes:
- ./guacozy_server:/app
environment:
- DJANGO_SECRET_KEY=youshoulddefinetelychangethistosomethingelseandtakecare
- FIELD_ENCRYPTION_KEY=qjq4ObsXMqiqQyfKgD-jjEGm4ep8RaHKGRg4ohGCi1A=
- DJANGO_TIME_ZONE=Europe/Vilnius
- DJANGO_DB_URL=postgres://postgres@db:5432/postgres
- DJANGO_ALLOWED_HOSTS=*
ports:
- 8000:8000
react:
build:
context: ./frontend/
volumes:
- ./frontend:/frontend
ports:
- 3000:3000
environment:
- DJANGO_PROXY_HOST=django
- DJANGO_PROXY_PORT=8000
guacd:
image: guacamole/guacd
restart: always
db:
image: postgres:10.4-alpine
restart: always
volumes:
- dev-postgres-data:/var/lib/postgresql/data
volumes:
dev-postgres-data: