-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-engage.yml
36 lines (36 loc) · 1.23 KB
/
docker-compose-engage.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
db:
image: postgres
web:
build: .
command: python manage.py runserver 0.0.0.0:8000
environment:
SITE_ENV: prod
volumes:
- .:/code
ports:
- "8890:8000"
links:
- db
angular:
image: httpd:latest
ports:
- "8889:80"
links:
- web
volumes:
# - /home/cisneros/certs/STAR_cbs_dtu_dk.ca-bundle:/usr/local/apache2/conf/
# - /home/cisneros/certs/STAR_cbs_dtu_dk.crt:/usr/local/apache2/conf/
# - /home/cisneros/certs/STAR_cbs_dtu_dk-private.key:/usr/local/apache2/conf/
# - /home/cisneros/certs/STAR_cbs_dtu_dk-private.nopass.key:/usr/local/apache2/conf/
- ./frontend_engage:/usr/local/apache2/htdocs/
# Configuration fiels located in /etc/apache2/
# - /home/cisneros/certs:/etc/ssl/private/servercerts
- /etc/apache2:/apache_conf
# then customize the /usr/local/apache2/conf/httpd.conf by removing
# the comment from the line with #Include conf/extra/httpd-ssl.conf.
# This config file will use the certificate files previously added and tell
# the daemon to also listen on port 443. Be sure to also add something
# like -p 443:443 to your docker run to forward the https port.
#
# For production use this
# https://httpd.apache.org/docs/2.2/ssl/ssl_faq.html