2023-05-25 02:21:09 -04:00
|
|
|
services:
|
|
|
|
|
2023-05-25 19:22:46 -04:00
|
|
|
db:
|
2024-06-06 01:40:56 -04:00
|
|
|
image: 'docker.io/library/postgres:16'
|
2023-05-25 02:21:09 -04:00
|
|
|
environment:
|
2024-09-03 16:42:25 -04:00
|
|
|
POSTGRES_DATABASE: "${BOTTIN_SERVER_API_DB_DATABASE:-bottin}"
|
|
|
|
POSTGRES_PASSWORD: "${BOTTIN_SERVER_API_DB_PASSWORD:-bottin}"
|
|
|
|
POSTGRES_USER: "${BOTTIN_SERVER_API_DB_USER:-bottin}"
|
2023-05-25 02:21:09 -04:00
|
|
|
volumes:
|
2023-05-25 23:03:28 -04:00
|
|
|
- 'db-data:/var/lib/postgresql/data'
|
|
|
|
restart: 'unless-stopped'
|
2023-05-25 19:22:46 -04:00
|
|
|
|
2023-05-25 23:03:28 -04:00
|
|
|
api:
|
2023-05-25 19:22:46 -04:00
|
|
|
depends_on:
|
|
|
|
- db
|
2023-05-25 23:03:28 -04:00
|
|
|
build: .
|
2023-05-29 18:19:31 -04:00
|
|
|
image: 'git.agecem.com/agecem/bottin:latest'
|
2024-09-03 16:42:25 -04:00
|
|
|
env:
|
|
|
|
BOTTIN_SERVER_API_DB_DATABASE: "${BOTTIN_SERVER_API_DB_DATABASE:-bottin}"
|
|
|
|
BOTTIN_SERVER_API_DB_HOST: "${BOTTIN_SERVER_API_DB_HOST:-db}"
|
|
|
|
BOTTIN_SERVER_API_DB_PASSWORD: "${BOTTIN_SERVER_API_DB_PASSWORD:-bottin}"
|
|
|
|
BOTTIN_SERVER_API_DB_USER: "${BOTTIN_SERVER_API_DB_USER:-bottin}"
|
|
|
|
#BOTTIN_SERVER_API_HOST: "${BOTTIN_SERVER_API_HOST:}"
|
|
|
|
#BOTTIN_SERVER_API_KEY: "${BOTTIN_SERVER_API_KEY
|
2023-05-25 23:03:28 -04:00
|
|
|
ports:
|
|
|
|
- '1312:1312'
|
|
|
|
volumes:
|
|
|
|
- 'api-config:/etc/bottin'
|
|
|
|
restart: 'unless-stopped'
|
2024-07-15 16:52:04 -04:00
|
|
|
command: ['bottin', '--config', '/etc/bottin/api.yaml', 'server', 'api']
|
2023-05-25 23:03:28 -04:00
|
|
|
|
2024-07-15 16:52:04 -04:00
|
|
|
ui:
|
2023-05-25 23:03:28 -04:00
|
|
|
depends_on:
|
|
|
|
- api
|
|
|
|
build: .
|
2023-05-29 18:19:31 -04:00
|
|
|
image: 'git.agecem.com/agecem/bottin:latest'
|
2024-09-03 16:42:25 -04:00
|
|
|
env:
|
|
|
|
BOTTIN_WEB_PASSWORD: "${BOTTIN_WEB_PASSWORD:-bottin}"
|
|
|
|
BOTTIN_WEB_USER: "${BOTTIN_WEB_USER:-bottin}"
|
2023-05-25 23:03:28 -04:00
|
|
|
ports:
|
|
|
|
- '2312:2312'
|
|
|
|
volumes:
|
2024-07-15 16:52:04 -04:00
|
|
|
- 'ui-config:/etc/bottin'
|
2023-05-25 23:03:28 -04:00
|
|
|
restart: 'unless-stopped'
|
2024-07-15 16:52:04 -04:00
|
|
|
command: ['bottin', '--config', '/etc/bottin/ui.yaml', 'server', 'ui']
|
2023-05-25 23:03:28 -04:00
|
|
|
|
|
|
|
# adminer:
|
|
|
|
# image: adminer
|
|
|
|
# restart: always
|
|
|
|
# ports:
|
|
|
|
# - 8088:8080
|
|
|
|
# depends_on:
|
|
|
|
# - db
|
2023-05-25 02:21:09 -04:00
|
|
|
|
|
|
|
volumes:
|
2023-05-25 23:03:28 -04:00
|
|
|
db-data:
|
|
|
|
api-config:
|
2024-07-15 16:52:04 -04:00
|
|
|
ui-config:
|