doc: Rename docker/.env to example.env
This commit is contained in:
		
							parent
							
								
									b96a823536
								
							
						
					
					
						commit
						2793ee00dd
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -12,3 +12,4 @@ __pycache__
 | 
			
		||||
 | 
			
		||||
# geckodriver.log
 | 
			
		||||
*.log
 | 
			
		||||
docker/.env
 | 
			
		||||
 | 
			
		||||
@ -30,6 +30,12 @@ Without this step you will need to preface each `docker-compose` command with `s
 | 
			
		||||
    https://docs.docker.com/engine/install/linux-postinstall/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#### Copy the default environment file:
 | 
			
		||||
 | 
			
		||||
    cd basicswap/docker
 | 
			
		||||
    cp example.env .env
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#### (Optional) Set custom coin data path:
 | 
			
		||||
 | 
			
		||||
Coin-related files, such as blockchain and wallet files, are stored in `/var/data/coinswaps` by default. To use a different location, simply modify the target path in your `.env` file found within the `/docker` sub-folder.
 | 
			
		||||
 | 
			
		||||
@ -27,8 +27,7 @@ If the dependencies have changed the container must be built with `--no-cache`:
 | 
			
		||||
 | 
			
		||||
After updating the code and rebuilding the container run:
 | 
			
		||||
 | 
			
		||||
    basicswap/docker]$ export COINDATA_PATH=[PATH_TO]
 | 
			
		||||
    $ docker-compose run --rm swapclient \
 | 
			
		||||
    basicswap/docker]$ docker-compose run --rm swapclient \
 | 
			
		||||
        basicswap-prepare --datadir=/coindata --preparebinonly --withcoins=monero,bitcoin
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user