Configure Discorse in Portainer with Nginx Proxy Manager
I'm trying to configure, adapt, your doker-compose to run on my Portainer with Nginx Proxy Manager, but not having much success, any help is welcome. Here is my configuration file...
version: "3.9"
services:
discourse:
image: libresh/discourse:${DISCOURSE_VERSION:-stable}
container_name: discourse
command: bundle exec config/unicorn_launcher -E production -c config/unicorn.conf.rb
volumes:
- /home/tales/Docker/Discourse/assets:/home/discourse/discourse/public/assets
- /home/tales/Docker/Discourse/uploads:/home/discourse/discourse/public/uploads
- /home/tales/Docker/Discourse/backups:/home/discourse/discourse/public/backups
environment:
#- DISCOURSE_HOSTNAME=flarum.biglinux.com.br
- POSTGRES_USER=discourse
- DISCOURSE_SMTP_PORT=587
- DISCOURSE_SMTP_ADDRESS
- DISCOURSE_SMTP_USER_NAME
- DISCOURSE_SMTP_PASSWORD
- DISCOURSE_DB_PASSWORD
- DISCOURSE_DB_HOST=postgres
- UNICORN_BIND_ALL=true
depends_on:
- big-redis
- big-postgres
networks:
t4l35-net:
big-sidekiq:
image: libresh/discourse:${DISCOURSE_VERSION:-stable}
container_name: big-sidekiq
command: bundle exec big-sidekiq -q critical -q default -q low -v
volumes:
- /home/tales/Docker/Discourse/assets:/home/discourse/discourse/public/assets
environment:
#- DISCOURSE_HOSTNAME=flarum.biglinux.com.br
- POSTGRES_USER=discourse
- DISCOURSE_SMTP_PORT=587
- DISCOURSE_SMTP_ADDRESS
- DISCOURSE_SMTP_USER_NAME
- DISCOURSE_SMTP_PASSWORD
- DISCOURSE_DB_PASSWORD
depends_on:
- big-redis
- big-postgres
networks:
t4l35-net:
big-postgres:
image: postgres:${POSTGRES_VERSION:-12-alpine}
container_name: big-postgres
volumes:
- /home/tales/Docker/Discourse/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=discourse
- POSTGRES_PASSWORD=MYPASS
networks:
t4l35-net:
big-redis:
image: redis:${REDIS_VERSION:-4-alpine}
container_name: big-redis
command: ["--appendonly","yes"]
volumes:
- /home/tales/Docker/Discourse/redis:/data
networks:
t4l35-net:
networks:
t4l35-net:
name: t4l35-net
- Error when uploading discorse container: standard_init_linux.go:228: exec user process caused: exec format error
- Error when uploading big-sidekiq container: standard_init_linux.go:228: exec user process caused: exec format error