atuin/docker-compose.dev.yml
Ty 657e5e6088
Start on OIDC integration
This is absurdly insecure and jank to start but I just want a POC before I polish it
2023-11-13 23:19:55 -07:00

37 lines
No EOL
845 B
YAML

version: '3.5'
services:
atuin:
restart: always
image: atuinlocal:latest
build:
context: .
dockerfile: Dockerfile
network: host
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
networks:
default:
name: atuinnet
ipam:
driver: default
config:
- subnet: 172.20.0.0/16