mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 11:09:17 +00:00
* 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
23 lines
382 B
YAML
23 lines
382 B
YAML
name: databag
|
|
|
|
services:
|
|
app:
|
|
build: .
|
|
|
|
# # For building cross environment containers
|
|
# build:
|
|
# context: .
|
|
# args:
|
|
# DATABAG_GOARCH: arm64
|
|
# DATABAG_GOOS: linux
|
|
# platform: "linux/arm64"
|
|
ports:
|
|
- 127.0.0.1:7000:7000
|
|
volumes:
|
|
- database:/var/lib/databag
|
|
environment:
|
|
- ADMIN=password
|
|
|
|
volumes:
|
|
database:
|