update
continuous-integration/drone/push Build is failing Details

master
wanggang 4 years ago
commit 30103be937

@ -0,0 +1,34 @@
kind: pipeline
type: docker
name: test
platform:
arch: amd64
os: linux
steps:
- name: test
image: docker/compose:1.29.2
commands:
- docker-compose config
- mv .env .env.example
- name: deploy
image: appleboy/drone-scp:linux-amd64
settings:
host: 49.4.92.112
port: 9022
username: root
password:
from_secret: ssh_password
target: /data/publish2/frp/publish
source: ./
rm: false
- name: restart
image: appleboy/drone-ssh:linux-amd64
settings:
host: 49.4.92.112
port: 9022
username: root
password:
from_secret: ssh_password
script:
- cd /data/publish2/frp/publish
- docker compose up --remove-orphans -d

@ -0,0 +1,8 @@
version: "3.8"
services:
frps:
image: snowdreamtech/frps:0.37.0
restart: always
network_mode: host
volumes:
- ./frp/frps.ini:/etc/frp/frps.ini

@ -0,0 +1,7 @@
[common]
bind_port = 7000
vhost_http_port = 80
dashboard_port = 8000
dashboard_user = admin
dashboard_pwd = admin
subdomain_host = iot.edusoa.com
Loading…
Cancel
Save