Skip to content

Commit

Permalink
Merge pull request #1102 from Websoft9/update-docuseal-f74f2895
Browse files Browse the repository at this point in the history
Update docuseal
  • Loading branch information
qiaofeng1227 authored Dec 27, 2024
2 parents c25ae27 + 1dccc94 commit a6f8a4c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 34 deletions.
15 changes: 7 additions & 8 deletions apps/docuseal/.env
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
W9_REPO=docuseal/docuseal
W9_VERSION=latest
W9_DIST=community
W9_POWER_PASSWORD=urtghkikljee9u

W9_ID=docuseal
W9_VERSION='latest'
W9_DIST='community'
W9_ID='docuseal'
# Port Configuration
W9_HTTP_PORT=3000
W9_HTTP_PORT_SET=3000
W9_HTTP_PORT_SET='3000'
W9_NETWORK=websoft9
W9_URL="docuseal.test2.websoft9.cn"

#Docuseal Configuration
DATABASE_URL=postgresql://docuseal:$W9_POWER_PASSWORD@$W9_ID-postgres:5432/docuseal
#Docuseal Configuration docs: https://www.docuseal.com/docs/configuring-docuseal-via-environment-variables
#DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal
2 changes: 2 additions & 0 deletions apps/docuseal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
## Release

### Fixes and Enhancements

2024-12-17 first release
14 changes: 14 additions & 0 deletions apps/docuseal/Notes.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# DocuSeal

## FAQ

#### How to signature?

Refer to: https://github.com/Websoft9/docker-library/issues/723

#### Where is the volume of Docuseal contaier?

Dockerfile not have any volume define, and

- docker run sample is /data, and this running OK
- docker compose sample is /data/Docuseal, and this running failed

26 changes: 2 additions & 24 deletions apps/docuseal/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# image: https://hub.docker.com/r/docuseal/docuseal
# docs: https://www.docuseal.co/docs
# docs: https://github.com/docusealco/docuseal
# compose: https://github.com/docusealco/docuseal/blob/master/docker-compose.yml

version: '3.8'
Expand All @@ -8,39 +9,16 @@ services:
docuseal:
container_name: $W9_ID
image: $W9_REPO:$W9_VERSION
depends_on:
postgres:
condition: service_healthy
env_file: .env
ports:
- $W9_HTTP_PORT_SET:3000
volumes:
- docuseal_data:/data/docuseal

- docuseal_data:/data
restart: unless-stopped

postgres:
container_name: $W9_ID-postgres
image: postgres:15
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: docuseal
POSTGRES_PASSWORD: $W9_POWER_PASSWORD
POSTGRES_DB: docuseal
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
restart: unless-stopped


volumes:
docuseal_data:
postgres_data:


networks:
default:
name: ${W9_NETWORK}
Expand Down
4 changes: 2 additions & 2 deletions apps/docuseal/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
}
],
"requirements": {
"cpu": "2",
"memory": "4",
"cpu": "1",
"memory": "2",
"disk": "6",
"url": "https://www.docuseal.co/docs/on-premises-server-requirements"
}
Expand Down

0 comments on commit a6f8a4c

Please sign in to comment.