first commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
version: "3.5"
|
||||
|
||||
services:
|
||||
client-ui:
|
||||
image: nginx:latest
|
||||
container_name: client-ui
|
||||
volumes:
|
||||
- ./dist:/usr/share/nginx/html:ro
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
environment:
|
||||
TZ: "Asia/Shanghai"
|
||||
ports:
|
||||
- 8665:80
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10240k"
|
||||
max-file: "10"
|
||||
network_mode: "bridge"
|
||||
command: /bin/bash -c "nginx -g 'daemon off;'"
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user