Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 13ad4e08d2 | |||
| 7e35cf0c31 |
@@ -118,7 +118,7 @@ steps:
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- echo "🛑 Stopping old container..."
|
||||
- docker rm -f blog || true
|
||||
- docker rm -f tic-tac-toe-ui || true
|
||||
|
||||
- name: run-container
|
||||
image: docker:24
|
||||
@@ -131,8 +131,8 @@ steps:
|
||||
- echo "🚀 Starting container lila-games/tic-tac-toe-ui:$IMAGE_TAG ..."
|
||||
- |
|
||||
docker run -d \
|
||||
--name blog \
|
||||
-p 3002:3000 \
|
||||
--name tic-tac-toe-ui \
|
||||
-p 3003:3000 \
|
||||
-e NODE_ENV=production \
|
||||
--restart always \
|
||||
lila-games/tic-tac-toe-ui:$IMAGE_TAG
|
||||
|
||||
@@ -48,9 +48,10 @@ export const NakamaContext = createContext<NakamaContextType>(null!);
|
||||
export function NakamaProvider({ children }: { children: React.ReactNode }) {
|
||||
const [client] = useState(
|
||||
() => new Client(
|
||||
import.meta.env.VITE_WS_SKEY,
|
||||
import.meta.env.VITE_SERVER_KEY,
|
||||
import.meta.env.VITE_WS_HOST,
|
||||
import.meta.env.VITE_WS_PORT
|
||||
import.meta.env.VITE_WS_PORT,
|
||||
import.meta.env.VITE_WS_SSL === "true"
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user