Skip to content

Commit

Permalink
AppSmith: Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kulemantu committed Nov 1, 2022
1 parent affcbf9 commit c76a5ed
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
9 changes: 9 additions & 0 deletions appsmith/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
VIRTUAL_HOST=appsmith.example.com
VIRTUAL_PORT=9080

APPSMITH_MAIL_ENABLED=true
APPSMITH_MAIL_HOST=mail.example.com
APPSMITH_MAIL_PORT=465
APPSMITH_MAIL_USERNAME=appsmith
APPSMITH_MAIL_PASSWORD=$3cureP@ss
APPSMITH_MAIL_FROM=[email protected]
23 changes: 23 additions & 0 deletions appsmith/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: "3"

services:
appsmith:
image: index.docker.io/appsmith/appsmith-ce
container_name: appsmith
ports:
- "${VIRTUAL_PORT}:80"
volumes:
- ./stacks:/appsmith-stacks
restart: unless-stopped
env_file: .env
# # Uncomment the lines below to enable auto-update
# labels:
# com.centurylinklabs.watchtower.enable: "true"

# auto_update:
# image: containrrr/watchtower:latest-dev
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# # Update check interval in seconds.
# command: --schedule "0 0 * ? * *" --label-enable --cleanup
# restart: unless-stopped
15 changes: 15 additions & 0 deletions appsmith/traefik.override.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: "3"

services:
appsmith:
labels:
- traefik.enable=true
- traefik.http.routers.appsmith-http.rule=Host(`${VIRTUAL_HOST}`)
- traefik.http.routers.appsmith-http.entrypoints=web
- traefik.http.routers.appsmith-http.middlewares=redirect
- traefik.http.middlewares.redirect.redirectscheme.scheme=https
- traefik.http.routers.appsmith-https.rule=Host(`${VIRTUAL_HOST}`)
- traefik.http.routers.appsmith-https.entrypoints=websecure
- traefik.http.routers.appsmith-https.tls=true
- traefik.http.routers.appsmith-https.tls.certresolver=letsencrypt
# - traefik.http.services.appsmith.loadbalancer.server.port=${VIRTUAL_PORT}

0 comments on commit c76a5ed

Please sign in to comment.