# This is a sample docker-compose file that can be used to run Joplin Server # along with a PostgreSQL server. # # Update the following fields in the stanza below: # # POSTGRES_USER # POSTGRES_PASSWORD # APP_BASE_URL # # APP_BASE_URL: This is the base public URL where the service will be running. # - If Joplin Server needs to be accessible over the internet, configure APP_BASE_URL as follows: https://example.com/joplin. # - If Joplin Server does not need to be accessible over the internet, set the APP_BASE_URL to your server's hostname. # For Example: http://[hostname]:22300. The base URL can include the port. # APP_PORT: The local port on which the Docker container will listen. # - This would typically be mapped to port to 443 (TLS) with a reverse proxy. # - If Joplin Server does not need to be accessible over the internet, the port can be mapped to 22300. # # The OG Raw File URL: # https://raw.githubusercontent.com/laurent22/joplin/dev/docker-compose.server.yml # # ########################################################### # #### When I setup this server, the Joplin Version was... # # #### Joplin Server v3.7.1 # # ########################################################### # Portainer Stack Name: joplin-server-v1 # By default, Joplin Server will be setup with an admin user with... # email = admin@localhost # and # password = admin networks: app-network: shared-network: services: db: image: postgres:16 volumes: - ./jop-data/postgres:/var/lib/postgresql/data networks: - app-network restart: unless-stopped environment: - POSTGRES_PASSWORD=UKL_491_Max - POSTGRES_USER=Joplin_4_Max - POSTGRES_DB=JoplinDB app: # To Lock Onto 1 Version of Joplin (NO Updates) # image: joplin/server:3.7.1 image: joplin/server:latest depends_on: - db ports: - "22300:22300" networks: - app-network - shared-network restart: unless-stopped environment: - APP_PORT=22300 - APP_BASE_URL=http://192.168.68.112:22300 - DB_CLIENT=pg - POSTGRES_PASSWORD=UKL_491_Max - POSTGRES_DATABASE=JoplinDB - POSTGRES_USER=Joplin_4_Max - POSTGRES_PORT=5432 - POSTGRES_HOST=db - TRANSCRIBE_ENABLED=false ===============================================================