Compare commits
2
Commits
4869c119d0
..
0.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f67e1c184e | ||
|
|
6c17f85e4c |
No files matched your search
+2
-2
@@ -16,10 +16,10 @@ Docker images are available under the dbob16/tam-client repo within Docker Hub.
|
||||
|
||||
Then to run it:
|
||||
|
||||
`docker run -d --name tam-client --network host --restart unless-stopped -e host=127.0.0.1 -e port=3000 -v tam-data:/data dbob16/tam-client:latest`
|
||||
`docker run -d --name tam-client --network host --restart unless-stopped -e HOST=127.0.0.1 -e PORT=3000 -v tam-data:/data dbob16/tam-client:latest`
|
||||
|
||||
It should then be available in a web browser at `http://localhost:3000` on the computer it is being run on. You can bookmark or make shortcuts to it for user convenience.
|
||||
|
||||
#### Port Conflict
|
||||
|
||||
If there is a conflict with the port when you go to start TAM, you can change the port by changing the number in the `-e port=3000` to another integer. For instance, if you have to change it to port 3001, you can change it to `-e port=3001` and then navigate to `http://localhost:3001` instead.
|
||||
If there is a conflict with the port when you go to start TAM, you can change the port by changing the number in the `-e PORT=3000` to another integer. For instance, if you have to change it to port 3001, you can change it to `-e PORT=3001` and then navigate to `http://localhost:3001` instead.
|
||||
@@ -2,8 +2,7 @@
|
||||
source ../../version.env
|
||||
docker compose build
|
||||
docker image tag dbob16/tam-client:latest dbob16/tam-client:${TAM_VERSION}
|
||||
mkdir -p dist/images
|
||||
echo "HOST=127.0.0.1" >> dist/prod.env
|
||||
echo "HOST=127.0.0.1" > dist/prod.env
|
||||
echo "PORT=3000" >> dist/prod.env
|
||||
TAM_VERSION=${TAM_VERSION} envsubst < ./run-client.sh.template > ./dist/run-client.sh
|
||||
chmod +x dist/run-client.sh
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -d "./data" ]; then
|
||||
mkdir ./data
|
||||
fi
|
||||
HOST=127.0.0.1 PORT=3000 ./exe/bin/node ./build
|
||||
Reference in new issue
Block a user