diff --git a/client/css/colors.styl b/client/css/colors.styl index a37f7bbb..cf7e7caf 100644 --- a/client/css/colors.styl +++ b/client/css/colors.styl @@ -61,4 +61,4 @@ $safety-sketchy = #F3D75F $safety-unsafe = #F3985F $scrollbar-thumb-color = $main-color $scrollbar-bg-color = $input-enabled-background-color -$transparency-grid-square-color = #00000000 +$transparency-grid-square-color = #F0F0F0 diff --git a/client/js/models/settings.js b/client/js/models/settings.js index b39f07fa..f36fd579 100644 --- a/client/js/models/settings.js +++ b/client/js/models/settings.js @@ -11,13 +11,13 @@ const defaultSettings = { upscaleSmallPosts: false, endlessScroll: false, keyboardShortcuts: true, - transparencyGrid: true, + transparencyGrid: false, fitMode: "fit-both", tagSuggestions: true, autoplayVideos: false, postsPerPage: 42, tagUnderscoresAsSpaces: false, - darkTheme: false, + darkTheme: true, postFlow: false, }; diff --git a/doc/example.env b/doc/example.env index 303a25e6..5d22f42b 100644 --- a/doc/example.env +++ b/doc/example.env @@ -9,6 +9,7 @@ BUILD_INFO=latest # Set to 127.0.0.1:8080 if you wish to reverse-proxy the docker's port, # otherwise the port specified here will be publicly accessible PORT=8080 +# EXPOSED_POSTGRES_PORT=34517 # How many waitress threads to start # 4 is the default amount of threads. If you experience performance diff --git a/docker-compose.yml b/docker-compose.yml index 60cb2393..3b25e58e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,7 +40,7 @@ services: volumes: - "${MOUNT_DATA}:/data:ro" ports: - - "${PORT}:80" + - "${PORT:-3000}:80" sql: image: postgres:11-alpine @@ -48,7 +48,7 @@ services: environment: POSTGRES_USER: POSTGRES_PASSWORD: -# ports: -# - 5432:5432 + ports: + - "${EXPOSED_POSTGRES_PORT:-34517}:5432" volumes: - "${MOUNT_SQL}:/var/lib/postgresql/data"