modified files

Este commit está contenido en:
Your Name
2020-08-02 23:08:26 +00:00
padre abd18a4a22
commit 5a526d0f89
Se han modificado 66 ficheros con 277 adiciones y 4090 borrados

Ver fichero

@@ -2,24 +2,32 @@ version: '2'
services:
pleroma:
build: ./pleroma
build: ./pleroma.git
hostname: pleroma
container_name: pleroma
restart: always
command: mix phx.server
# entrypoint:
# - /bin/sleep
# - infinity
volumes:
- ./pleroma/config:/pleroma/config
- ./pleroma/uploads:/pleroma/uploads
- ./pleroma/vm.args.eex:/pleroma/rel/vm.args.eex
- ./pleroma/terms-of-service.html:/pleroma/priv/static/static/terms-of-service.html:ro
# - ./pleroma/config:/etc/pleroma
- ./pleroma/uploads:/var/lib/pleroma/uploads
- ./pleroma/config.exs:/etc/pleroma/config.exs:ro
# - ./pleroma/vm.args.eex:/pleroma/rel/vm.args.eex
- ./pleroma/terms-of-service.html:/var/lib/pleroma/static/static/terms-of-service.html:ro
# - ./pleroma/emojis:/pleroma/priv/static/emoji/custom/images:ro
# - ./pleroma/images:/pleroma/priv/static/static/images:ro
# - ./pleroma/custom_emoji.txt:/pleroma/config/custom_emoji.txt:ro
# - ./pleroma/index.html:/pleroma/priv/static/index.html:ro
expose:
- 4000
ports:
- "9999:9999/tcp"
# expose:
# - 4000
# ports:
# - "9999:9999/tcp"
environment:
- DB_HOST=postgres-pleroma
- DB_NAME=pleroma
- DB_USER=postgres
- DB_PASS=pl3r0m4.
networks:
mynet:
ipv4_address: 172.2.0.101
@@ -31,7 +39,7 @@ services:
restart: always
shm_size: '1gb'
command: >
-c 'max_connections=150'
-c 'max_connections=250'
-c 'shared_buffers=512MB'
-c 'effective_cache_size=1536MB'
-c 'maintenance_work_mem=128MB'