You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
459 B
23 lines
459 B
trip:
|
|
image: docker.io/tomcat:9.0.27
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- ./logs/tomcat:/usr/local/tomcat/logs
|
|
- ./tomcat-taoyuan:/usr/local/tomcat/webapps/ROOT
|
|
Nginx:
|
|
image: docker.io/nginx:1.17.6
|
|
links:
|
|
- trip:trip
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./conf:/etc/nginx/conf.d
|
|
- ./logs:/etc/nginx/logs/
|
|
- ./cert:/etc/nginx/cert/
|
|
- ./nginx-root:/opt/nginx-root
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
|
|
|