From 49d539d5a17155990ca180659c47baf30df19bc2 Mon Sep 17 00:00:00 2001 From: julien Date: Fri, 10 Oct 2025 09:38:58 +0200 Subject: [PATCH] Updates --- appsmith/docker-compose.yaml | 83 ++++++++++++++++++++++++++++++++++++ bracket/compose.yaml | 71 ++++++++++++++---------------- 2 files changed, 115 insertions(+), 39 deletions(-) create mode 100644 appsmith/docker-compose.yaml diff --git a/appsmith/docker-compose.yaml b/appsmith/docker-compose.yaml new file mode 100644 index 0000000..4930d38 --- /dev/null +++ b/appsmith/docker-compose.yaml @@ -0,0 +1,83 @@ +# +--- +name: appsmith + +volumes: + stacks: + db-data: + pgadmin-data: + +networks: + frontend: + backend: + +services: + appsmith: + image: index.docker.io/appsmith/appsmith-ce + container_name: appsmith + networks: + - frontend + ports: + - "50154:80" + - "50155:443" + volumes: + - stacks:/appsmith-stacks + environment: + APPSMITH_MAIL_ENABLED: true + APPSMITH_MAIL_FROM: admin@delmar.bzh + APPSMITH_REPLY_TO: admin@delmar.bzh + APPSMITH_MAIL_HOST: pro1.mail.ovh.net + APPSMITH_MAIL_PORT: 587 + APPSMITH_MAIL_SMTP_TLS_ENABLED: true + APPSMITH_MAIL_SMTP_AUTH: true + APPSMITH_MAIL_USERNAME: admin@delmar.bzh + APPSMITH_MAIL_PASSWORD: sxS4GA8rBfmFkCFL + restart: unless-stopped + labels: + - "dockpeek.link=https://asm.delmar.bzh" + - "dockpeek.tags=frontend,production" + + database: + image: postgres + container_name: appsmith-postgres + networks: + - frontend + - backend + ports: + - 5432 + volumes: + - db-data:/var/lib/postgresql/data + - ./init.sql:/docker-entrypoint-initdb.d/init.sql + environment: + POSTGRES_USER: postgres # The PostgreSQL user (useful to connect to the database) + POSTGRES_PASSWORD: aU52HoLeuGQf5TDU # The PostgreSQL password (useful to connect to the database) + POSTGRES_DB: appsmith + restart: unless-stopped + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 10s + timeout: 5s + retries: 5 + labels: + - "dockpeek.tags=backend,database,production" + + pgadmin: + image: dpage/pgadmin4 + container_name: appsmith-pgadmin + networks: + - backend + ports: + - 15433:80 + environment: + PGADMIN_DEFAULT_EMAIL: admin@delmar.bzh + PGADMIN_DEFAULT_PASSWORD: aU52HoLeuGQf5TDU + POSTGRES_USER: postgres # The PostgreSQL user (useful to connect to the database) + POSTGRES_PASSWORD: aU52HoLeuGQf5TDU # The PostgreSQL password (useful to connect to the database) + POSTGRES_DB: appsmith + restart: unless-stopped + depends_on: + - database + volumes: + - pgadmin-data:/var/lib/pgadmin/ + labels: + - "dockpeek.tags=backend,database,administration,production" diff --git a/bracket/compose.yaml b/bracket/compose.yaml index 7327adc..f8bd3b9 100644 --- a/bracket/compose.yaml +++ b/bracket/compose.yaml @@ -1,57 +1,50 @@ +# +--- +name: bracket + +networks: + bracket_lan: + driver: bridge + volumes: - bracket_static: bracket_pg_data: services: - bracket-frontend: - container_name: bracket-frontend - image: ghcr.io/evroon/bracket-frontend - environment: - NODE_ENV: "production" - NEXT_PUBLIC_API_BASE_URL: http://localhost:8400 - # NEXT_PUBLIC_HCAPTCHA_SITE_KEY: 10000000-ffff-ffff-ffff-000000000001 - ports: - - "3000:3000" - restart: unless-stopped - bracket-backend: container_name: bracket-backend - image: ghcr.io/evroon/bracket-backend depends_on: - postgres environment: - ENVIRONMENT: "PRODUCTION" - CORS_ORIGINS: http://localhost:3000 - PG_DSN: "postgresql://admin:rLAPG2RDeozyfgxr@postgres:5432/bracket_db" - JWT_SECRET: 4GEpdr4rFTcR637M - ADMIN_EMAIL: ${ADMIN_EMAIL} - ADMIN_PASSWORD: ${ADMIN_PASSWORD} - ALLOW_USER_REGISTRATION: true - AUTO_RUN_MIGRATIONS: true + ENVIRONMENT: DEVELOPMENT + CORS_ORIGINS: http://localhost:29787 + PG_DSN: postgresql://bracket_dev:bracket_dev@postgres:5432/bracket_dev + image: ghcr.io/evroon/bracket-backend + networks: + - bracket_lan ports: - - "8400:8400" + - 8400:8400 restart: unless-stopped volumes: - - bracket_static:/app/static + - ./backend/static:/app/static + + bracket-frontend: + container_name: bracket-frontend + environment: + NEXT_PUBLIC_API_BASE_URL: http://localhost:8400 + NEXT_PUBLIC_HCAPTCHA_SITE_KEY: 6558f58a-714a-41c2-8930-5baa71d40b1e + image: ghcr.io/evroon/bracket-frontend + ports: + - 29787:3000 + restart: unless-stopped postgres: - container_name: bracket-postgres - image: postgres environment: - POSTGRES_DB: bracket_db - POSTGRES_PASSWORD: rLAPG2RDeozyfgxr - POSTGRES_USER: admin + POSTGRES_DB: bracket_dev + POSTGRES_PASSWORD: bracket_dev + POSTGRES_USER: bracket_dev + image: postgres + networks: + - bracket_lan restart: always volumes: - bracket_pg_data:/var/lib/postgresql/data - - adminer: - container_name: adminer - image: adminer - environment: - ADMINER_DEFAULT_SERVER: postgres - depends_on: - - postgres - ports: - - 63880:8080 - restart: unless-stopped