Skip to content

Commit

Permalink
Update docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty authored Nov 5, 2023
1 parent e1ff2fb commit 412532a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
version: "3.8"

volumes:
postgresql:
zinc-data:
q2tg:

services:
# 如果有现成的 Postgresql 实例,可以删除这一小节
postgres:
Expand All @@ -10,10 +16,10 @@ services:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
volumes:
- ./postgresql:/var/lib/postgresql/data
- postgresql:/var/lib/postgresql/data
zinclabs:
volumes:
- './zinc/data:/data'
- 'zinc-data:/data'
environment:
- ZINC_DATA_PATH=/data
- ZINC_FIRST_ADMIN_USER=admin
Expand All @@ -39,7 +45,7 @@ services:
- zinclabs
- sign
volumes:
- ./data:/app/data
- q2tg:/app/data
environment:
- NODE_OPTIONS=--openssl-legacy-provider
- TG_API_ID=
Expand Down

0 comments on commit 412532a

Please sign in to comment.