forked from paidem/guacozy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-qa.yml
35 lines (34 loc) · 1.03 KB
/
docker-compose-qa.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
# This is a way do build and deploy application for QA - using same Dockerfile which is used to build official image
version: '3'
services:
server: &server
build:
context: ./
args:
- DOCKER_TAG=QA
restart: always
depends_on:
- db
# volumes:
# e.g. to mount LDAP config:
# - /c/Users/username/dockerdata/guacozy/ldap_config.py:/app/guacozy_server/ldap_config.py
# - /home/username/dockerdata/guacozy/ldap_config.py:/app/guacozy_server/ldap_config.py
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:
- 10080:80
- 10443:443
guacd:
image: guacamole/guacd
restart: always
db:
image: postgres:10.4-alpine
restart: always
volumes:
- postgres-data:/var/lib/postgresql/data
volumes:
postgres-data: