Updates
This commit is contained in:
83
appsmith/docker-compose.yaml
Normal file
83
appsmith/docker-compose.yaml
Normal 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"
|
||||||
@@ -1,57 +1,50 @@
|
|||||||
|
#
|
||||||
|
---
|
||||||
|
name: bracket
|
||||||
|
|
||||||
|
networks:
|
||||||
|
bracket_lan:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
bracket_static:
|
|
||||||
bracket_pg_data:
|
bracket_pg_data:
|
||||||
|
|
||||||
services:
|
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:
|
bracket-backend:
|
||||||
container_name: bracket-backend
|
container_name: bracket-backend
|
||||||
image: ghcr.io/evroon/bracket-backend
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
environment:
|
environment:
|
||||||
ENVIRONMENT: "PRODUCTION"
|
ENVIRONMENT: DEVELOPMENT
|
||||||
CORS_ORIGINS: http://localhost:3000
|
CORS_ORIGINS: http://localhost:29787
|
||||||
PG_DSN: "postgresql://admin:rLAPG2RDeozyfgxr@postgres:5432/bracket_db"
|
PG_DSN: postgresql://bracket_dev:bracket_dev@postgres:5432/bracket_dev
|
||||||
JWT_SECRET: 4GEpdr4rFTcR637M
|
image: ghcr.io/evroon/bracket-backend
|
||||||
ADMIN_EMAIL: ${ADMIN_EMAIL}
|
networks:
|
||||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
|
- bracket_lan
|
||||||
ALLOW_USER_REGISTRATION: true
|
|
||||||
AUTO_RUN_MIGRATIONS: true
|
|
||||||
ports:
|
ports:
|
||||||
- "8400:8400"
|
- 8400:8400
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
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:
|
postgres:
|
||||||
container_name: bracket-postgres
|
|
||||||
image: postgres
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: bracket_db
|
POSTGRES_DB: bracket_dev
|
||||||
POSTGRES_PASSWORD: rLAPG2RDeozyfgxr
|
POSTGRES_PASSWORD: bracket_dev
|
||||||
POSTGRES_USER: admin
|
POSTGRES_USER: bracket_dev
|
||||||
|
image: postgres
|
||||||
|
networks:
|
||||||
|
- bracket_lan
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- bracket_pg_data:/var/lib/postgresql/data
|
- 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user