You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to change the path of the wiki js storage to a new directory of /store/wiki with the following codes. It seems worked. But the new folder is empty when I opened it. What did I do wrong here?
docker create --name=wiki -e LETSENCRYPT_DOMAIN=wiki.cantorai.com -e LETSENCRYPT_EMAIL=[email protected] -e SSL_ACTIVE=1 -e DB_TYPE=postgres -e DB_HOST=db -e DB_PORT=5432 -e DB_PASS_FILE=/store/wiki/.db-secret -v /store/wiki/.db-secret:/store/wiki/.db-secret:ro -e DB_USER=wiki -e DB_NAME=wiki -e UPGRADE_COMPANION=1 --restart=unless-stopped -h wiki --network=wikinet -p 9090:3000 -p 8443:3443 -v /store/wiki:/data/uploads -v /store/wiki/logs:/data/logs -v /store/wiki/config.yml:/data/config.yml ghcr.io/requarks/wiki:2
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I tried to change the path of the wiki js storage to a new directory of /store/wiki with the following codes. It seems worked. But the new folder is empty when I opened it. What did I do wrong here?
docker create --name=wiki -e LETSENCRYPT_DOMAIN=wiki.cantorai.com -e LETSENCRYPT_EMAIL=[email protected] -e SSL_ACTIVE=1 -e DB_TYPE=postgres -e DB_HOST=db -e DB_PORT=5432 -e DB_PASS_FILE=/store/wiki/.db-secret -v /store/wiki/.db-secret:/store/wiki/.db-secret:ro -e DB_USER=wiki -e DB_NAME=wiki -e UPGRADE_COMPANION=1 --restart=unless-stopped -h wiki --network=wikinet -p 9090:3000 -p 8443:3443 -v /store/wiki:/data/uploads -v /store/wiki/logs:/data/logs -v /store/wiki/config.yml:/data/config.yml ghcr.io/requarks/wiki:2
docker create --name=db -e POSTGRES_DB=wiki -e POSTGRES_USER=wiki -e POSTGRES_PASSWORD_FILE=/store/wiki/.db-secret -v /store/wiki/.db-secret:/store/wiki/.db-secret:ro -v /store/wiki/pgdata:/var/lib/postgresql/data --restart=unless-stopped -h db --network=wikinet postgres:15
Beta Was this translation helpful? Give feedback.
All reactions