mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-15 04:36:34 +00:00
Merge pull request #1097 from bcj/bcj/non-standard-ports-main
Allow BookWyrm to run on Non-Standard Ports
This commit is contained in:
commit
fbed7b8eab
4 changed files with 4 additions and 4 deletions
|
@ -21,6 +21,7 @@ BOOKWYRM_DATABASE_BACKEND=postgres
|
||||||
|
|
||||||
MEDIA_ROOT=images/
|
MEDIA_ROOT=images/
|
||||||
|
|
||||||
|
POSTGRES_PORT=5432
|
||||||
POSTGRES_PASSWORD=fedireads
|
POSTGRES_PASSWORD=fedireads
|
||||||
POSTGRES_USER=fedireads
|
POSTGRES_USER=fedireads
|
||||||
POSTGRES_DB=fedireads
|
POSTGRES_DB=fedireads
|
||||||
|
|
|
@ -21,6 +21,7 @@ BOOKWYRM_DATABASE_BACKEND=postgres
|
||||||
|
|
||||||
MEDIA_ROOT=images/
|
MEDIA_ROOT=images/
|
||||||
|
|
||||||
|
POSTGRES_PORT=5432
|
||||||
POSTGRES_PASSWORD=securedbpassword123
|
POSTGRES_PASSWORD=securedbpassword123
|
||||||
POSTGRES_USER=fedireads
|
POSTGRES_USER=fedireads
|
||||||
POSTGRES_DB=fedireads
|
POSTGRES_DB=fedireads
|
||||||
|
|
|
@ -118,7 +118,7 @@ BOOKWYRM_DBS = {
|
||||||
"USER": env("POSTGRES_USER", "fedireads"),
|
"USER": env("POSTGRES_USER", "fedireads"),
|
||||||
"PASSWORD": env("POSTGRES_PASSWORD", "fedireads"),
|
"PASSWORD": env("POSTGRES_PASSWORD", "fedireads"),
|
||||||
"HOST": env("POSTGRES_HOST", ""),
|
"HOST": env("POSTGRES_HOST", ""),
|
||||||
"PORT": 5432,
|
"PORT": env("POSTGRES_PORT", 5432),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,6 @@ services:
|
||||||
image: redis
|
image: redis
|
||||||
command: ["redis-server", "--appendonly", "yes"]
|
command: ["redis-server", "--appendonly", "yes"]
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
|
||||||
- 6378:6378
|
|
||||||
networks:
|
networks:
|
||||||
- main
|
- main
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
@ -76,7 +74,7 @@ services:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
flower:
|
flower:
|
||||||
build: .
|
build: .
|
||||||
command: flower --port=8888
|
command: flower --port=${FLOWER_PORT}
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
- CELERY_BROKER_URL=${CELERY_BROKER}
|
- CELERY_BROKER_URL=${CELERY_BROKER}
|
||||||
|
|
Loading…
Reference in a new issue