Allow to run fin on remote server with custom remote domain.
- Install Docksal on local computer
- Get fin remote command:
bash <(curl -fsSL https://raw.githubusercontent.com/Flower7C3/docksal-remote/master/install)
Uninstall from local computer:
bash <(curl -fsSL https://raw.githubusercontent.com/Flower7C3/docksal-remote/master/uninstall)
First create program configuration with fin remote config set
command.
Next load configuration to shell with eval $(fin remote config get)
command.
All configuration will be saved in .docksal/docksal-remote.env
file.
You can define
REMOTE_DOCKER_HOST_IP
andREMOTE_DOCKER_HOST_PORT
global variables to setup autocomplete in configuration program.
In project directory where Docksal configuration exist just type fin remote
command.
Do NOT use fin project, fin start, fin stop, etc. commands! It may start Docker with invalid configuration.
Main commands in this script:
fin remote project|p
- work with project:fin remote project up
- warmup Docksal project: setup NFS connection, configure env files and run fin upfin remote project down (-f|--force)
- remove Docksal project: run fin remove -f, remove env files and cleanup NFS connectionfin remote project reset (-f|--force)
- reset Docksal project: runfin remote project down
, thenfin remote project up
on localfin remote project start|s
- start Docksal project: setup NFS connection, configure env files and run fin startfin remote project stop|e
- stop Docksal project: run fin stop, remote env files and cleanup NFS connectionfin remote project restart|r
- restart Docksal project: runfin remote project stop
, thenfin remote project start
on localfin remote project open|o|www (path)
- open public project URL withopen
command
fin remote proxy|x
- run docker-compose commands on nginx proxy, all extra parameters are same like indocker-compose
commandfin remote config|cfg|c
- shows stack configfin remote config setup|set|s (-f|--force)
- save new config to .docksal/docksal-remote.env filefin remote config variables|get|g
- display config from .docksal/docksal-remote.env filefin remote config check|k
- check if config is loaded to shellfin remote config docksal|d
- Docksal configurationfin remote config ngnix|www|w
- Ngnix server configurationfin remote config containers|container|c
- Docker containers configurationfin remote config networks|network|net|n
- Docker networks configurationfin remote config volumes|volume|vol|v
- Docker volumes server configuration
eval $(fin remote config-dump)
- export config from .docksal/docksal-remote.env file to current shell
Short commands in this script:
fin remote up
- alias tofin remote project up
fin remote down (-f|--force)
- alias tofin remote project down
fin remote reset
- alias tofin remote project reset
fin remote start
,fin remote s
- alias tofin remote project start
fin remote stop
,fin remote e
- alias tofin remote project stop
fin remote restart
- alias tofin remote project restart
fin remote open|www|o (path)
- alias tofin remote project open