2022-10-08 20:40:33 -06:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
2023-03-09 18:35:33 -07:00
|
|
|
fasten:
|
|
|
|
# NOTE: only developers need to build Fasten from source
|
|
|
|
# For production, use the pre-built image from GitHub Packages
|
|
|
|
# ghcr.io/fastenhealth/fasten-onprem:main
|
2022-10-08 20:40:33 -06:00
|
|
|
build:
|
2022-10-09 12:08:23 -06:00
|
|
|
context: .
|
2022-10-08 20:40:33 -06:00
|
|
|
dockerfile: Dockerfile
|
2023-03-09 18:35:33 -07:00
|
|
|
args:
|
|
|
|
- FASTEN_ENV=prod
|
|
|
|
# - FASTEN_ENV=sandbox
|
2022-10-08 20:40:33 -06:00
|
|
|
ports:
|
2022-10-09 12:08:23 -06:00
|
|
|
- "9090:8080"
|
2022-10-08 20:40:33 -06:00
|
|
|
volumes:
|
2023-03-09 18:35:33 -07:00
|
|
|
- ./db:/opt/fasten/db
|
2022-10-09 12:08:23 -06:00
|
|
|
# - ./config.example.yaml:/opt/fasten/config/config.yaml
|