Docker config updates

- comment out database service
- mount `/gabsocial/public/system/` to external volume
This commit is contained in:
robcolbert 2019-07-03 12:06:00 -04:00
parent 0c8a68adce
commit 3120f7bbcf
1 changed files with 25 additions and 24 deletions

View File

@ -1,15 +1,15 @@
version: '3' version: '3'
services: services:
db: # db:
restart: always # restart: always
image: postgres:9.6-alpine # image: postgres:9.6-alpine
networks: # networks:
- internal_network # - internal_network
healthcheck: # healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"] # test: ["CMD", "pg_isready", "-U", "postgres"]
volumes: # volumes:
- ./postgres:/var/lib/postgresql/data # - ./postgres:/var/lib/postgresql/data
redis: redis:
restart: always restart: always
@ -47,11 +47,11 @@ services:
ports: ports:
- "127.0.0.1:3000:3000" - "127.0.0.1:3000:3000"
depends_on: depends_on:
- db # - db
- redis - redis
# - es # - es
volumes: volumes:
- ./public/system:/gabsocial/public/system - /mnt/md0/assets:/gabsocial/public/system
streaming: streaming:
build: . build: .
@ -83,7 +83,8 @@ services:
- external_network - external_network
- internal_network - internal_network
volumes: 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 ## Uncomment to enable federation with tor instances along with adding the following ENV variables
## http_proxy=http://privoxy:8118 ## http_proxy=http://privoxy:8118
## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true ## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true