Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pocketbase #1225

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 19 additions & 12 deletions apps/pocketbase/.env
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
W9_REPO=spectado/pocketbase
W9_DIST=community
W9_VERSION=latest
W9_REPO=elestio/pocketbase
W9_DIST='community'
W9_VERSION='latest'
W9_POWER_PASSWORD='Ts3bAF2#oQ8TqK1X'
W9_HTTP_PORT_SET='9001'

W9_POWER_PASSWORD=1PrMxExC45LsCT
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID='pocketbase'
W9_HTTP_PORT=8090
W9_URL='internet_ip:$W9_HTTP_PORT'
W9_NETWORK=websoft9
# Admin user must is email
[email protected]
W9_LOGIN_PASSWORD=$W9_POWER_PASSWORD
W9_ADMIN_PATH="/_/"

W9_HTTP_PORT_SET=9001

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
#### ----------------------------------------------------------------------------------------- ####

W9_ID=pocketbase
W9_HTTP_PORT=80
W9_ADMIN_PATH="_/"
# More environments of pocketbase: https://dockerhub.websoft9.com/r/elestio/pocketbase

EMAIL=$W9_LOGIN_USER
ADMIN_PASSWORD=your-password

W9_URL=internet_ip:$W9_HTTP_PORT
W9_NETWORK=websoft9

#### ----------------------------------------------------------------------------------------- ####
5 changes: 4 additions & 1 deletion apps/pocketbase/Notes.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Appname
# Pocketbase

- Credentials can not used, need to research

## FAQ
11 changes: 5 additions & 6 deletions apps/pocketbase/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# image: https://hub.docker.com/r/spectado/pocketbase

version: '3.8'
# image: https://hub.docker.com/r/elestio/pocketbase

services:

pocketbase:
image: $W9_REPO:$W9_VERSION
container_name: $W9_ID
user: 0:0
restart: unless-stopped
ports:
- $W9_HTTP_PORT_SET:80
env_file: .env
- $W9_HTTP_PORT_SET:8090
env_file:
- .env
volumes:
- pocketbase:/pb_data

Expand Down
Loading