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
629 B
23 lines
629 B
#https://docs.docker.com/compose/compose-file/
|
|
version: "3.8"
|
|
|
|
services:
|
|
web:
|
|
image: nginx:1.18
|
|
#https://hub.docker.com/_/nginx
|
|
volumes:
|
|
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
|
|
- ./nginx/conf/edusoa.key:/etc/nginx/edusoa.key
|
|
- ./nginx/conf/edusoa.pem:/etc/nginx/edusoa.pem
|
|
- ./nginx/log:/var/log/nginx
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
networks:
|
|
default:
|
|
ipv4_address: 172.16.0.10
|
|
networks:
|
|
default:
|
|
ipam:
|
|
config:
|
|
- subnet: 172.16.0.0/16 |