25 lines
660 B
YAML
25 lines
660 B
YAML
|
version: "2.1"
|
||
|
services:
|
||
|
logseq:
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: Dockerfile
|
||
|
container_name: logseq
|
||
|
# security_opt:
|
||
|
# - seccomp:unconfined #optional
|
||
|
environment:
|
||
|
# Recommended to set PUID and PGID to avoid permission issues. You can use `id` to get your uid and gid.
|
||
|
- PUID=1000
|
||
|
- PGID=1000
|
||
|
- TZ=Etc/UTC
|
||
|
# HTTP authentification username and password
|
||
|
# It seems the container user will be "abc" even if custom user is set.
|
||
|
- CUSTOM_USER=abc
|
||
|
- PASSWORD=password
|
||
|
volumes:
|
||
|
- ./logseq:/config
|
||
|
ports:
|
||
|
- 2000:3000
|
||
|
- 2001:3001
|
||
|
restart: unless-stopped
|