Add paperclip service configuration (Docker Compose, Caddy, .env.age) and update deploy_script.sh
This commit is contained in:
1 parent
6ff71851e3
commit
fc49ad230f
4 files changed
+53
-7
No files matched your search
+3
-7
@@ -16,7 +16,7 @@ CADDY_FRAGMENTS_DIR="${DATA_BASE}/caddy/fragments"
|
||||
POSTGRES_CONTAINER="postgres"
|
||||
|
||||
# Infrastructure services that are started in a specific order
|
||||
INFRA_SERVICES=("postgres" "caddy")
|
||||
INFRA_SERVICES=("caddy")
|
||||
|
||||
ACTIVE_SERVICES=()
|
||||
SKIPPED_SERVICES=()
|
||||
@@ -302,12 +302,8 @@ pull_images() {
|
||||
}
|
||||
|
||||
start_infra() {
|
||||
if [[ " ${ACTIVE_SERVICES[*]} " =~ " postgres " ]]; then
|
||||
log "Starting PostgreSQL..."
|
||||
cd "${SERVICES_DIR}/postgres"
|
||||
docker compose up -d --remove-orphans
|
||||
sleep 5
|
||||
fi
|
||||
# Postgres is started via depends_on in paperclip service
|
||||
true
|
||||
}
|
||||
|
||||
assemble_caddy_fragments() {
|
||||
|
||||
Reference in new issue
Block a user