Gokapi now keeps its config and data in /opt/stacks/gokapi instead of named volumes. config.json is templated with Pocket ID as the OIDC provider, so a fresh install never shows the open /setup wizard. On a new database a one-off run with --deployment-password creates the super admin, after which only existing users can log in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
408 B
Django/Jinja
19 lines
408 B
Django/Jinja
services:
|
|
gokapi:
|
|
image: f0rc3/gokapi:latest
|
|
container_name: gokapi
|
|
restart: unless-stopped
|
|
environment:
|
|
TZ: "UTC"
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./config:/app/config
|
|
extra_hosts:
|
|
- "{{ subdomains.pocketid }}:{{ docker.hairpin_ip }}"
|
|
labels:
|
|
mag37.dockcheck.update: true
|
|
networks:
|
|
default:
|
|
external: true
|
|
name: "{{ docker.network_name }}"
|