-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
executable file
·50 lines (45 loc) · 1.88 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: "3.7"
services:
wiki:
stdin_open: true
tty: true
build:
context: .
dockerfile: Dockerfile
restart: always
image: deepaksood619/wiki:latest
container_name: wiki
environment:
- DEBUG=True
ports:
- 8000:8000
- 3000:3000
entrypoint:
- /bin/bash
- -c
- |
sleep infinity
# git clone https://github.com/deepaksood619/deepaksood619.github.io.git
# cd deepaksood619.github.io/.layouts
# npm i
# npm start
# npm run start --host 0.0.0.0 # not working
# npm run build
# cd ..
# git checkout -b gh-pages
# git add .layouts/public -f
# git config --global user.email "[email protected]"
# git commit -m "added gh-pages"
# git push origin `git subtree split --prefix .layouts/public gh-pages`:gh-pages --force
# git push https://deepaksood619:[email protected]/deepaksood619/deepaksood619.github.io.git `git subtree split --prefix .layouts/public gh-pages`:gh-pages --force
# git add .layouts/public -f
# git branch gh-pages
# git subtree split --prefix '.layouts/public' -b gh-pages
# git push -f https://deepaksood619:[email protected]/deepaksood619/deepaksood619.github.io.git gh-pages:gh-pages
# git subtree push --prefix .layouts/public origin gh-pages
# git subtree push --prefix .layouts/public https://deepaksood619:[email protected]/deepaksood619/deepaksood619.github.io.git gh-pages
# running docusaurus locally
# npm ci
# npm start
volumes:
- .:/app/