Commit f0d9dc46 authored by cossins's avatar cossins
Browse files

add restart to containers except pgadmin and remove tomcat port

parent 3d708d15
......@@ -4,6 +4,7 @@ services:
postgresql:
image: postgres:12.5
restart: always
container_name: webapi_postgres
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
......@@ -23,12 +24,12 @@ services:
tomcat:
image: tomcat:8.5
restart: always
container_name: webapitomcat
ports:
- 127.0.0.1:${TOMCAT_PORT}:8080
nginx:
image: nginx:stable-alpine
restart: always
container_name: webapi_nginx
ports:
- ${NGINX_PORT}:80
......
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