Skip to content

Commit 731f3ab

Browse files
author
websoft9
committed
Update docuseal
1 parent 3fe3bef commit 731f3ab

File tree

5 files changed

+27
-34
lines changed

5 files changed

+27
-34
lines changed

apps/docuseal/.env

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
W9_REPO=docuseal/docuseal
2-
W9_VERSION=latest
3-
W9_DIST=community
4-
W9_POWER_PASSWORD=urtghkikljee9u
5-
6-
W9_ID=docuseal
2+
W9_VERSION='latest'
3+
W9_DIST='community'
4+
W9_ID='docuseal'
75
# Port Configuration
86
W9_HTTP_PORT=3000
9-
W9_HTTP_PORT_SET=3000
7+
W9_HTTP_PORT_SET='3000'
108
W9_NETWORK=websoft9
9+
W9_URL="docuseal.test2.websoft9.cn"
1110

12-
#Docuseal Configuration
13-
DATABASE_URL=postgresql://docuseal:$W9_POWER_PASSWORD@$W9_ID-postgres:5432/docuseal
11+
#Docuseal Configuration docs: https://www.docuseal.com/docs/configuring-docuseal-via-environment-variables
12+
#DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal

apps/docuseal/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
## Release
44

55
### Fixes and Enhancements
6+
7+
2024-12-17 first release

apps/docuseal/Notes.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
11
# DocuSeal
2+
3+
## FAQ
4+
5+
#### How to signature?
6+
7+
Refer to: https://github.com/Websoft9/docker-library/issues/723
8+
9+
#### Where is the volume of Docuseal contaier?
10+
11+
Dockerfile not have any volume define, and
12+
13+
- docker run sample is /data, and this running OK
14+
- docker compose sample is /data/Docuseal, and this running failed
15+

apps/docuseal/docker-compose.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# image: https://hub.docker.com/r/docuseal/docuseal
22
# docs: https://www.docuseal.co/docs
3+
# docs: https://github.com/docusealco/docuseal
34
# compose: https://github.com/docusealco/docuseal/blob/master/docker-compose.yml
45

56
version: '3.8'
@@ -8,39 +9,16 @@ services:
89
docuseal:
910
container_name: $W9_ID
1011
image: $W9_REPO:$W9_VERSION
11-
depends_on:
12-
postgres:
13-
condition: service_healthy
1412
env_file: .env
1513
ports:
1614
- $W9_HTTP_PORT_SET:3000
1715
volumes:
18-
- docuseal_data:/data/docuseal
19-
16+
- docuseal_data:/data
2017
restart: unless-stopped
2118

22-
postgres:
23-
container_name: $W9_ID-postgres
24-
image: postgres:15
25-
volumes:
26-
- postgres_data:/var/lib/postgresql/data
27-
environment:
28-
POSTGRES_USER: docuseal
29-
POSTGRES_PASSWORD: $W9_POWER_PASSWORD
30-
POSTGRES_DB: docuseal
31-
healthcheck:
32-
test: ["CMD-SHELL", "pg_isready -U postgres"]
33-
interval: 5s
34-
timeout: 5s
35-
retries: 5
36-
restart: unless-stopped
37-
38-
3919
volumes:
4020
docuseal_data:
41-
postgres_data:
4221

43-
4422
networks:
4523
default:
4624
name: ${W9_NETWORK}

apps/docuseal/variables.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
}
1414
],
1515
"requirements": {
16-
"cpu": "2",
17-
"memory": "4",
16+
"cpu": "1",
17+
"memory": "2",
1818
"disk": "6",
1919
"url": "https://www.docuseal.co/docs/on-premises-server-requirements"
2020
}

0 commit comments

Comments
 (0)