Docker Installation on Synology NAS

Hi, the installation says it is completed and is running. however, I cannot seem to get the page to display to login.

YAML FILE:
#version: ‘3.5’

services:
server:
image: cortezaproject/corteza:${VERSION}
restart: always
env_file: [ .env ]

platform: linux/amd64

depends_on: [ db ]
ports: [ "10.0.1.115:18091:80" ]
volumes:
  - "./dbdata/server:/data"

db:
# PostgreSQL Database
# See https://hub.docker.com/_/postgres for details
# Support for postgres 13, 14 and 15 is available in the latest version of Corteza
image: postgres:15
# networks: [ internal ]
restart: always
# platform: linux/amd64
healthcheck: { test: [“CMD-SHELL”, “pg_isready -U corteza”], interval: 10s, timeout: 5s, retries: 5 }
volumes:
- “dbdata:/var/lib/postgresql/data”
environment:
# Warning: these are values that are only used on 1st start
# if you want to change it later, you need to do that
# manually inside db container
POSTGRES_USER: corteza
POSTGRES_PASSWORD: corteza

volumes:
dbdata:

.ENV FILE
#######################################################################################################################

docker-compose supports environment variable interpolation/substitution in compose configuration file

(more info: Use environment variables | Docker Docs)

########################################################################################################################

General settings

DOMAIN=10.0.1.115:18091
VERSION=2023.9

########################################################################################################################

Database connection

DB_DSN=postgres://corteza:corteza@db:5432/corteza?sslmode=disable

########################################################################################################################

Server settings

Running all-in-one and serving web applications directly from server container

HTTP_WEBAPP_ENABLED=true

Disabled, we do not need detailed persistent logging of actions in local env

ACTIONLOG_ENABLED=false

########################################################################################################################

SMTP (mail sending) settings

You must open port 18091 in your firewall
DOMAIN=10.0.1.115:18091 must be your public ip DOMAIN=HERE_YOUR_PUBLIC_SSH_IP:18091
or with a proxy-domain and also work the docker custom static ip example 172.18.0.100
DOMAIN=corteza.maildomainexample.tld
for ports you can do
ports: [ “your_docker_ip:18091:80” ] or leave ip blank => ports: [ “18091:80” ]
or it also work => ports: [ “0.0.0.0:18091:80” ]

1 Like