Skip to content

Guide for running https://github.com/turtl/server instance under traefik proxy with docker build and docker-compose example

Notifications You must be signed in to change notification settings

moookino/docker-turtl-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Turtl server in docker with Traefik

This is the new Turtl server under docker container with enabled Traefik as a reverse proxy

Running the server

git clone [email protected]:moookino/docker-turtl-server.git
mv docker-turtl-server turtl
cd turtl
git clone https://github.com/turtl/server
cd server/
# create the plugin directory from config.yaml#plugins.plugin_location
mv example-plugins plugins/ #to avoid building errors if you don't want to use plugins

Now edit config/config.yaml.default as needed, but don't forget to change this parts:

db:
  connstr: 'postgres://slappy:floppy@postgres:5432/turtl'
  pool: 24

loglevel: 'debug'

app:
  enable_bookmarker_proxy: false
  api_url: 'http://t.example.com:8181'
  www_url: 'https://turtl.example.com'

Change db setting to @postgres or with name same as in docker-compose Don't forget to change api_url and www_url

Now do:

sudo docker build -t turtl .
cd ..\
sudo docker-compose up -d

About

Guide for running https://github.com/turtl/server instance under traefik proxy with docker build and docker-compose example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published