Ryan Wang 👍
nginx:
build:
context: ./nginx
restart: always
networks:
- backend
- frontend
ports:
- 80:80
- 443:443
volumes:
- ./nginx/sites:/etc/nginx/sites
- ./nginx/logs:/var/log/nginx
- ./nginx/ssls:/etc/nginx/ssls
links:
- halo
webp:
image: webpsh/webps
restart: always
volumes:
- ./path/to/pics:/opt/pics
- ./path/to/exhaust:/opt/exhaust
ports:
- 127.0.0.1:3333:3333
deploy:
resources:
limits:
memory: 200M
我需要把config映射进去