Commit f82bd981 authored by cossins's avatar cossins
Browse files

update docker-compose.yml - add nginx and conf files

parent 86374ae2
......@@ -23,6 +23,16 @@ services:
tomcat:
image: tomcat:8.5
container_name: webapi_tomcat
container_name: webapitomcat
ports:
- ${TOMCAT_PORT}:8080
\ No newline at end of file
- 127.0.0.1:${TOMCAT_PORT}:8080
nginx:
image: nginx:stable-alpine
container_name: webapi_nginx
ports:
- ${NGINX_PORT}:80
volumes:
- ./atlas:/usr/share/nginx/html/atlas
- ./conf.d/default.conf:/etc/nginx/conf.d/default.conf
- ./conf.d/.htpasswd:/etc/nginx/conf.d/.htpasswd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment