Docker config updates
- comment out database service - mount `/gabsocial/public/system/` to external volume
This commit is contained in:
parent
0c8a68adce
commit
3120f7bbcf
|
@ -1,15 +1,15 @@
|
|||
version: '3'
|
||||
services:
|
||||
|
||||
db:
|
||||
restart: always
|
||||
image: postgres:9.6-alpine
|
||||
networks:
|
||||
- internal_network
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "postgres"]
|
||||
volumes:
|
||||
- ./postgres:/var/lib/postgresql/data
|
||||
# db:
|
||||
# restart: always
|
||||
# image: postgres:9.6-alpine
|
||||
# networks:
|
||||
# - internal_network
|
||||
# healthcheck:
|
||||
# test: ["CMD", "pg_isready", "-U", "postgres"]
|
||||
# volumes:
|
||||
# - ./postgres:/var/lib/postgresql/data
|
||||
|
||||
redis:
|
||||
restart: always
|
||||
|
@ -47,11 +47,11 @@ services:
|
|||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
depends_on:
|
||||
- db
|
||||
# - db
|
||||
- redis
|
||||
# - es
|
||||
volumes:
|
||||
- ./public/system:/gabsocial/public/system
|
||||
- /mnt/md0/assets:/gabsocial/public/system
|
||||
|
||||
streaming:
|
||||
build: .
|
||||
|
@ -83,7 +83,8 @@ services:
|
|||
- external_network
|
||||
- internal_network
|
||||
volumes:
|
||||
- ./public/system:/gabsocial/public/system
|
||||
- /mnt/md0/assets:/gabsocial/public/system
|
||||
|
||||
## Uncomment to enable federation with tor instances along with adding the following ENV variables
|
||||
## http_proxy=http://privoxy:8118
|
||||
## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true
|
||||
|
|
Loading…
Reference in New Issue