ci
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
60958c24fd
commit
38c12e7190
|
@ -44,10 +44,7 @@ steps:
|
|||
from_secret: ssh_pwd
|
||||
port: 8011
|
||||
target:
|
||||
- /mnt/d/deploy/node/UserModule
|
||||
- /mnt/d/deploy/node/UserModule
|
||||
- /mnt/d/deploy/node/UserModule/conf
|
||||
- /mnt/d/deploy/node/UserModule/conf
|
||||
- /mnt/d/deploy/fe/cidemoadmin
|
||||
source:
|
||||
- dist
|
||||
- docker-compose.yml
|
||||
|
@ -64,7 +61,7 @@ steps:
|
|||
from_secret: ssh_pwd
|
||||
port: 8011
|
||||
script:
|
||||
- cd /mnt/d/deploy/node/UserModule
|
||||
- cd /mnt/d/deploy/fe/cidemoadmin
|
||||
- docker-compose down
|
||||
- docker-compose up -d
|
||||
- docker-compose logs
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
FROM nginx
|
||||
|
||||
COPY dist /src
|
||||
|
||||
RUN yarn global add pm2
|
|
@ -6,7 +6,7 @@ services:
|
|||
image: nginx:1.19.2
|
||||
volumes:
|
||||
- ./dist:/var/www
|
||||
- ./conf/nginx.conf:/etc/nginx/conf
|
||||
- ./nginx.conf:/etc/nginx/conf
|
||||
networks:
|
||||
- feadmindroneci
|
||||
|
||||
|
@ -15,7 +15,7 @@ services:
|
|||
networks:
|
||||
- feadmindroneci
|
||||
volumes:
|
||||
- ./conf/frpc.ini:/etc/frp/frpc.ini
|
||||
- ./frpc.ini:/etc/frp/frpc.ini
|
||||
depends_on:
|
||||
- nginx
|
||||
restart: always
|
||||
|
|
|
@ -78,7 +78,7 @@ http {
|
|||
server_name demo-admin.ryio.cn;
|
||||
|
||||
location / {
|
||||
root /var/www/dist;
|
||||
root /var/www;
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue