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'
|
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
|
||||||
|
@ -21,17 +21,17 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis:/data
|
- ./redis:/data
|
||||||
|
|
||||||
# es:
|
# es:
|
||||||
# restart: always
|
# restart: always
|
||||||
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.3
|
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.3
|
||||||
# environment:
|
# environment:
|
||||||
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||||
# networks:
|
# networks:
|
||||||
# - internal_network
|
# - internal_network
|
||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"]
|
# test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"]
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./elasticsearch:/usr/share/elasticsearch/data
|
# - ./elasticsearch:/usr/share/elasticsearch/data
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue