Run Etebase Server within Docker Container
Go to file
DrMaxNix 8cfeeedf6a
All checks were successful
Release / Build and publish Docker images (push) Successful in 3m7s
Release / Create Gitea release (push) Successful in 8s
👷 drop multi-platform builds
2024-09-02 23:31:47 +02:00
.gitea/workflows 👷 drop multi-platform builds 2024-09-02 23:31:47 +02:00
.editorconfig 🔧 add editorconfig 2024-09-02 22:44:21 +02:00
Dockerfile 🎉 initial codebase 2024-09-02 22:51:10 +02:00
entrypoint.sh 🐛 also include db in persistent data dir 2024-09-02 23:07:32 +02:00
index.html 🎉 initial codebase 2024-09-02 22:51:10 +02:00
LICENSE 📄 add license 2024-09-02 22:44:35 +02:00
README.md ✏️ fix etebase name casing 2024-09-02 22:51:51 +02:00

EteBase Docker

Run Etebase Server within Docker Container

Setup Instructions

Docker Run (not recommended):

$ docker run -d --name "etebase" -v ./data:/opt/etebase-data -p 8080:80 drmaxnix/etebase

Docker Compose (recommended):

services:
  main:
    image: drmaxnix/etebase
    restart: unless-stopped
    volumes:
      - ./data:/opt/etebase-data
    ports:
      - "8080:80"
$ docker compose up -d

▶️For both variants, persistent config files and user data will be stored in the ./data directory. Feel free to change this to your needs.

▶️With this setup, the server will publicly listen on port 8080 via unencrypted http. When using in production, make sure to use a reverse proxy to add ssl functionality!

User Management

Create initial admin account:

$ docker compose exec main .venv/bin/python3 ./manage.py createsuperuser

▶️If you are using docker run, replace docker compose exec main with docker exec -it etebase.