2022-04-22 10:41:55 +02:00
|
|
|
version: '3.5'
|
|
|
|
services:
|
|
|
|
atuin:
|
|
|
|
restart: always
|
2024-03-04 17:16:26 +01:00
|
|
|
image: ghcr.io/atuinsh/atuin:<LATEST TAGGED RELEASE>
|
2022-04-22 10:41:55 +02:00
|
|
|
command: server start
|
|
|
|
volumes:
|
|
|
|
- "./config:/config"
|
|
|
|
links:
|
|
|
|
- postgresql:db
|
|
|
|
ports:
|
|
|
|
- 8888:8888
|
|
|
|
environment:
|
|
|
|
ATUIN_HOST: "0.0.0.0"
|
|
|
|
ATUIN_OPEN_REGISTRATION: "true"
|
2024-03-08 10:02:53 +01:00
|
|
|
ATUIN_DB_URI: postgres://$ATUIN_DB_USERNAME:$ATUIN_DB_PASSWORD@db/$ATUIN_DB_NAME
|
2024-03-04 17:16:26 +01:00
|
|
|
RUST_LOG: info,atuin_server=debug
|
2022-04-22 10:41:55 +02:00
|
|
|
postgresql:
|
|
|
|
image: postgres:14
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes: # Don't remove permanent storage for index database files!
|
|
|
|
- "./database:/var/lib/postgresql/data/"
|
|
|
|
environment:
|
2024-03-04 17:16:26 +01:00
|
|
|
POSTGRES_USER: ${ATUIN_DB_USERNAME}
|
|
|
|
POSTGRES_PASSWORD: ${ATUIN_DB_PASSWORD}
|
|
|
|
POSTGRES_DB: ${ATUIN_DB_NAME}
|