initial commit
This commit is contained in:
24
docker/YeetFile/with-db/compose.override.yml
Normal file
24
docker/YeetFile/with-db/compose.override.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
api:
|
||||
environment:
|
||||
YEETFILE_ALLOW_INSECURE_LINKS: 1
|
||||
YEETFILE_DB_HOST: db
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
db:
|
||||
image: ${YEETFILEDB_IMAGE}:${YEETFILEDB_TAG}
|
||||
container_name: ${YEETFILEDB_CONTAINER_NAME}
|
||||
restart: ${YEETFILEDB_RESTART_POLICY}
|
||||
environment:
|
||||
POSTGRES_HOST_AUTH_METHOD: ${POSTGRES_HOST_AUTH_METHOD:-md5}
|
||||
POSTGRES_USER: ${YEETFILE_DB_USER:-postgres}
|
||||
POSTGRES_PASSWORD: ${YEETFILE_DB_PASS:-postgres}
|
||||
POSTGRES_DB: ${YEETFILE_DB_NAME:-yeetfile}
|
||||
expose:
|
||||
- 5432
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
|
||||
interval: 3s
|
||||
networks:
|
||||
- ${YEETFILE_NETWORk_ID}
|
||||
9
docker/YeetFile/with-db/compose.yml
Normal file
9
docker/YeetFile/with-db/compose.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
# Docker Compose v2.20 or greater required to use "include"
|
||||
include:
|
||||
#################### NETWORKS ####################
|
||||
- ../compose/networks/proxy.yaml
|
||||
- ../compose/networks/socket-proxy.yaml
|
||||
#################### SERVICES ####################
|
||||
- ../compose/postgres.yaml
|
||||
- ../compose/yeetfile.yaml
|
||||
|
||||
1
docker/YeetFile/with-db/dcc.sh
Executable file
1
docker/YeetFile/with-db/dcc.sh
Executable file
@@ -0,0 +1 @@
|
||||
docker compose --env-file ../../env/.env.stack.yeetfile --env-file ../../env/.env.yeetfile --env-file ../../env/.env.common config
|
||||
Reference in New Issue
Block a user