This commit is contained in:
2025-10-10 09:38:58 +02:00
parent 9d385c422e
commit 49d539d5a1
2 changed files with 115 additions and 39 deletions

View File

@@ -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"