...
代码块 | ||
---|---|---|
| ||
services: vikunja: image: vikunja/vikunja container_name: vikuja restart: unless-stopped environment: - VIKUNJA_SERVICE_JWTSECRET=6dd20e6f597767ffa1c78538b380505aef20 - VIKUNJA_SERVICE_PUBLICURL=https://wekan.waringid.me/ - VIKUNJA_DATABASE_TYPE=postgres - VIKUNJA_DATABASE_HOST=db - VIKUNJA_DATABASE_PASSWORD=98b1657fff81a8c - VIKUNJA_DATABASE_USER=vikunja - VIKUNJA_DATABASE_DATABASE=vikunja - VIKUNJA_MAILER_ENABLED=true - VIKUNJA_MAILER_HOST=smtp.139.com - VIKUNJA_MAILER_PORT=465 - VIKUNJA_MAILER_USERNAME=136@139.com - VIKUNJA_MAILER_PASSWORD=e7022000 - VIKUNJA_MAILER_FROMEMAIL=136@139.com - VIKUNJA_MAILER_FORCESSL=true - VIKUNJA_DEFAULTSETTINGS_LANGUAGE=zh-cn - VIKUNJA_DEFAULTSETTINGS_TIMEZONE=Asia/Shanghai ports: - 8081:3456 depends_on: - db volumes: - ./files:/app/vikunja/files - ./db:/db - /etc/localtime:/etc/localtime:ro db: image: postgres:16 container_name: vikuja_pgsql environment: - POSTGRES_PASSWORD=98bb80b4d25957cf3d161657fff81a8c - POSTGRES_USER=vikunja - POSTGRES_DB=vikunja volumes: - ./db:/var/lib/postgresql/data restart: unless-stopped healthcheck: test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"] interval: 30s timeout: 20s retries: 3 |
常用维护指令
https://vikunja.io/docs/cli#testmail
...