databag/examples/docker-basic/docker-compose.yml
Lucian I. Last 2b3052ac3f
Better dev docker containers, Simpler production docker file, caddy for ssl (#136)
* Better dev docker containers, Simpler production docker file, caddy for ssl

* Fix repeater docker image

* Add depends on

* Use recommended caddy volumes & change to using databag image

* move to using examples folder for installation

* lint

* Tested example linux on bare metal

* Add DATABAG_PORT env and fix caddy

* Add dev_database for local sqlite testing

* incorrect use -z

* Add platform goarch goos optional envs

* Add more caching for faster rebuilds
2025-02-05 12:04:29 -08:00

15 lines
254 B
YAML

name: databag-example-http
services:
app:
image: balzack/databag:latest
restart: unless-stopped
ports:
- 127.0.0.1:7000:7000
volumes:
- database:/var/lib/databag
environment:
- ADMIN=password
volumes:
database: