Logo
Explore Help
Register Sign In
letsbe/monacousa-portal
1
0
Fork 0
You've already forked monacousa-portal
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
549ace87c6cef70fde9975d45a0420fabb22b60b
monacousa-portal/docker/db/Dockerfile

6 lines
230 B
Docker
Raw Normal View History

Redesign deployment: only .env + docker-compose.yml needed on server Custom Docker images embed all config so production servers no longer need SQL files, kong.yml, or shell scripts. Kong generates config from env vars at startup. Migrate container auto-detects fresh vs existing DB and runs appropriate scripts. New images: monacousa-db, monacousa-kong, monacousa-migrate New commands: deploy.sh build-images, deploy.sh push-images Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 10:33:25 +01:00
FROM supabase/postgres:15.8.1.060
# Embed init scripts into the image so no volume mounts are needed
COPY 00-init-schemas.sql /docker-entrypoint-initdb.d/00-init-schemas.sql
COPY migrate.sh /docker-entrypoint-initdb.d/migrate.sh
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 55ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API