From a9d1ece0cb2090b54668765f70ec00cd2b3a8554 Mon Sep 17 00:00:00 2001 From: lchausmann Date: Fri, 22 Apr 2022 10:41:55 +0200 Subject: Added docker-compose.yml (#325) Also added section to how to run your own server. Co-authored-by: Lars Chr. Duus Hausmann --- docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docker-compose.yml (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..07db484f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3.5' +services: + atuin: + restart: always + image: ghcr.io/ellie/atuin:main + command: server start + volumes: + - "./config:/config" + links: + - postgresql:db + ports: + - 8888:8888 + environment: + ATUIN_HOST: "0.0.0.0" + ATUIN_OPEN_REGISTRATION: "true" + ATUIN_DB_URI: postgres://atuin:really-insecure@db/atuin + postgresql: + image: postgres:14 + restart: unless-stopped + volumes: # Don't remove permanent storage for index database files! + - "./database:/var/lib/postgresql/data/" + environment: + POSTGRES_USER: atuin + POSTGRES_PASSWORD: really-insecure + POSTGRES_DB: atuin -- cgit v1.3.1