Docker Compose and Nginix
datzent83 opened this issue · comments
Summary
I am not sure if this is a bug or I am doing something wrong. I can't get Freescout working with HTTPS. I am using docker-compose.yml and Nginix Proxy Manager. However, docker-compose-no-proxy.yml works just fine.
version: '2'
services:
freescout-app:
image: tiredofit/freescout
container_name: freescout-app
links:
- freescout-db
volumes:
### If you want to perform customizations to the source and have access to it, then uncomment this line - This includes modules
#- ./data:/www/html
### Or, if you just want to use Stock Freescout and hold onto persistent files like cache and session use this, one or the other.
- ./data:/data
### If you want to just keep the original source and add additional modules uncomment this line
#- ./modules:/www/html/Modules
- ./logs/:/www/logs
environment:
- VIRTUAL_HOST=freescout.example.com
- VIRTUAL_NETWORK=nginx-proxy
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=freescout.example.com
- LETSENCRYPT_EMAIL=admin@example.com
- CONTAINER_NAME=freescout-app
- DB_HOST=freescout-db
- DB_NAME=freescout
- DB_USER=freescout
- DB_PASS=freescout
- SITE_URL=https://freescout.example.com
- ADMIN_EMAIL=admin@admin.com
- ADMIN_PASS=freescout
- ENABLE_SSL_PROXY=TRUE
- DISPLAY_ERRORS=FALSE
- TIMEZONE=America/Vancouver
networks:
- proxy-tier
restart: always
freescout-db:
image: tiredofit/mariadb
container_name: freescout-db
volumes:
- ./db:/var/lib/mysql
environment:
- ROOT_PASS=password
- DB_NAME=freescout
- DB_USER=freescout
- DB_PASS=freescout
- CONTAINER_NAME=freescout-db
networks:
- proxy-tier
restart: always
freescout-db-backup:
container_name: freescout-db-backup
image: tiredofit/db-backup
links:
- freescout-db
volumes:
- ./dbbackup:/backup
environment:
- CONTAINER_NAME=freescout-db-backup
- DB_HOST=freescout-db
- DB_TYPE=mariadb
- DB_NAME=freescout
- DB_USER=freescout
- DB_PASS=freescout
- DB01_BACKUP_INTERVAL=1440
- DB01_BACKUP_BEGIN=0000
- DB_CLEANUP_TIME=8640
- COMPRESSION=BZ
- MD5=TRUE
networks:
- proxy-tier
restart: always
networks:
proxy-tier:
external:
name: nginx-proxy
Steps to reproduce
What is the expected correct behavior?
Relevant logs and/or screenshots
Environment
- Image version / tag:
- Host OS: