Skip to content

Commit

Permalink
chore: reposition obsidian version in dockerfile
Browse files Browse the repository at this point in the history
docs: update PUID and PGID settings in compose
  • Loading branch information
sytone committed Mar 19, 2022
1 parent 653c501 commit eca2bc5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:focal

# set version label
ARG OBSIDIAN_VERSION=0.13.31

LABEL org.opencontainers.image.authors="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/sytone/obsidian-remote"
LABEL org.opencontainers.image.title="Container hosted Obsidian MD"
Expand All @@ -26,6 +23,9 @@ RUN \
/var/tmp/* \
/tmp/*

# set version label
ARG OBSIDIAN_VERSION=0.13.31

RUN \
echo "**** download obsidian ****" && \
curl \
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ docker run -d `

## Setting PUID and PGID

To set PUID and PGID use the follow environment variables on the command line, by default the IDs are 911/911
To set PUID and PGID use the follow environment variables on the command line, by default the IDs are 911/911

```PowerShell
docker run --rm -it `
Expand Down Expand Up @@ -59,8 +59,7 @@ id $user
To build and use it locally run the following commands:

```PowerShell
docker build --pull --rm --build-arg `
BUILD_DATE=$(date -uformat +"%Y%m%d") `
docker build --pull --rm `
-f "Dockerfile" `
-t obsidian-remote:latest `
"."
Expand Down Expand Up @@ -90,5 +89,8 @@ services:
volumes:
- /home/obsidian/vaults:/vaults
- /home/obsidian/config:/config/.config/obsidian
environment:
- PUID=1000
- PGID=1000

```

0 comments on commit eca2bc5

Please sign in to comment.