Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	docker-compose.yml
  • Loading branch information
terwer committed Mar 12, 2024
2 parents bda5231 + 458b26c commit 5faf84d
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.idea/
.DS_Store
workspace
workspace/
backup
*.iml
.env.docker
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ my note for docker

```bash
docker compose up --build
docker compose -f docker-compose-test.yml up --build
docker compose -f docker-compose-private.yml up --build
```

Run background
Expand Down
30 changes: 30 additions & 0 deletions docker-compose-private.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# docker-compose --log-level INFO up --build
# docker-compose --log-level INFO up -d --build

version: '3'
services:
private-note:
stdin_open: true
tty: true
image: b3log/siyuan:v2.10.13
ports:
- "6807:6806"
environment:
- "TZ=CST-8"
volumes:
- ./workspace:/home/siyuan/Documents
restart: "no"
# networks:
# - private_note_blog_network
#
# private-blog:
# image: terwer/nuxt3-blog:latest
# ports:
# - "3333:3000"
# env_file:
# - ./.env.docker
# networks:
# - private_note_blog_network
#
#networks:
# private_note_blog_network:
31 changes: 31 additions & 0 deletions docker-compose-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# docker-compose --log-level INFO up --build
# docker-compose --log-level INFO up -d --build

version: '3'
services:
test-note:
stdin_open: true
tty: true
image: b3log/siyuan:v2.10.13
command: [ "--workspace=/home/siyuan/Documents", "--accessAuthCode=123456" ]
ports:
- "6806:6806"
environment:
- "TZ=CST-8"
volumes:
- ./workspace:/home/siyuan/Documents
restart: "no"
# networks:
# - test_note_blog_network
#
# test-blog:
# image: terwer/nuxt3-blog:latest
# ports:
# - "3333:3000"
# env_file:
# - ./.env.docker
# networks:
# - test_note_blog_network
#
#networks:
# test_note_blog_network:
30 changes: 30 additions & 0 deletions docker-compose-zhangy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# docker-compose --log-level INFO up --build
# docker-compose --log-level INFO up -d --build

version: '3'
services:
zhangy-note:
stdin_open: true
tty: true
image: b3log/siyuan:v2.10.13
ports:
- "6809:6806"
environment:
- "TZ=CST-8"
volumes:
- ./workspace:/home/siyuan/Documents
restart: "no"
# networks:
# - zhangy_note_blog_network
#
# zhangy-blog:
# image: terwer/nuxt3-blog:latest
# ports:
# - "3333:3000"
# env_file:
# - ./.env.docker
# networks:
# - zhangy_note_blog_network
#
#networks:
# zhangy_note_blog_network:

0 comments on commit 5faf84d

Please sign in to comment.