Browse Source

add auto domin

main
LonglyCode 5 years ago
parent
commit
589ca8c089
  1. 15
      docker-compose.yml

15
docker-compose.yml

@ -1,6 +1,6 @@
version: "3.2"
services:
services:
json-gen:
build:
context: ./
@ -8,4 +8,15 @@ services:
restart: always
ports:
- '8777:8000'
command: [ 'nginx-debug', '-g', 'daemon off;' ]
networks:
- fpm_proxy-tier
environment:
- VIRTUAL_HOST=json.cobb.wang
- VIRTUAL_PORT=8000
- LETSENCRYPT_HOST=json.cobb.wang
- LETSENCRYPT_EMAIL=emoxun8215@126.com
command: [ 'nginx-debug', '-g', 'daemon off;' ]
networks:
fpm_proxy-tier:
external: true
Loading…
Cancel
Save