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
|
from_secret: ssh_pwd
|
||||||
port: 8011
|
port: 8011
|
||||||
target:
|
target:
|
||||||
- /mnt/d/deploy/node/UserModule
|
- /mnt/d/deploy/fe/cidemoadmin
|
||||||
- /mnt/d/deploy/node/UserModule
|
|
||||||
- /mnt/d/deploy/node/UserModule/conf
|
|
||||||
- /mnt/d/deploy/node/UserModule/conf
|
|
||||||
source:
|
source:
|
||||||
- dist
|
- dist
|
||||||
- docker-compose.yml
|
- docker-compose.yml
|
||||||
|
@ -64,7 +61,7 @@ steps:
|
||||||
from_secret: ssh_pwd
|
from_secret: ssh_pwd
|
||||||
port: 8011
|
port: 8011
|
||||||
script:
|
script:
|
||||||
- cd /mnt/d/deploy/node/UserModule
|
- cd /mnt/d/deploy/fe/cidemoadmin
|
||||||
- docker-compose down
|
- docker-compose down
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
- docker-compose logs
|
- 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
|
image: nginx:1.19.2
|
||||||
volumes:
|
volumes:
|
||||||
- ./dist:/var/www
|
- ./dist:/var/www
|
||||||
- ./conf/nginx.conf:/etc/nginx/conf
|
- ./nginx.conf:/etc/nginx/conf
|
||||||
networks:
|
networks:
|
||||||
- feadmindroneci
|
- feadmindroneci
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- feadmindroneci
|
- feadmindroneci
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/frpc.ini:/etc/frp/frpc.ini
|
- ./frpc.ini:/etc/frp/frpc.ini
|
||||||
depends_on:
|
depends_on:
|
||||||
- nginx
|
- nginx
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -78,7 +78,7 @@ http {
|
||||||
server_name demo-admin.ryio.cn;
|
server_name demo-admin.ryio.cn;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /var/www/dist;
|
root /var/www;
|
||||||
index index.html;
|
index index.html;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue