mirror of https://github.com/interlegis/sapl.git
eribeiro
5 years ago
2 changed files with 72 additions and 55 deletions
@ -1,54 +1,71 @@ |
|||||
sapldb: |
version: "3.7" |
||||
image: postgres:10.5-alpine |
services: |
||||
restart: always |
sapldb: |
||||
environment: |
image: postgres:10.5-alpine |
||||
POSTGRES_PASSWORD: sapl |
restart: always |
||||
POSTGRES_USER: sapl |
environment: |
||||
POSTGRES_DB: sapl |
POSTGRES_PASSWORD: sapl |
||||
PGDATA : /var/lib/postgresql/data/ |
POSTGRES_USER: sapl |
||||
volumes: |
POSTGRES_DB: sapl |
||||
- sapldb_data:/var/lib/postgresql/data/ |
PGDATA : /var/lib/postgresql/data/ |
||||
ports: |
volumes: |
||||
- "5432:5432" |
- sapldb_data:/var/lib/postgresql/data/ |
||||
saplredis: |
ports: |
||||
image: redis:5.0.3-stretch |
- "5433:5432" |
||||
restart: always |
networks: |
||||
ports: |
- sapl-net |
||||
- "6379:6379" |
saplsolr: |
||||
|
image: solr:8.3 |
||||
#saplsolr: |
restart: always |
||||
# image: solr:7.4-alpine |
command: bin/solr start -c -f |
||||
# restart: always |
volumes: |
||||
# command: bin/solr start -c -f |
- solr_data:/opt/solr/server/solr |
||||
# volumes: |
- solr_configsets:/opt/solr/server/solr/configsets |
||||
# - solr_data:/opt/solr/server/solr |
ports: |
||||
# - solr_configsets:/opt/solr/server/solr/configsets |
- "8983:8983" |
||||
# ports: |
networks: |
||||
# - "8983:8983" |
- sapl-net |
||||
|
saplredis: |
||||
sapl: |
image: redis:5.0.3-stretch |
||||
image: interlegis/sapl:master |
restart: always |
||||
restart: always |
ports: |
||||
environment: |
- "6379:6379" |
||||
ADMIN_PASSWORD: interlegis |
sapl: |
||||
ADMIN_EMAIL: email@dominio.net |
image: interlegis/sapl:3.1.161-RC0 |
||||
DEBUG: 'False' |
#build: . |
||||
EMAIL_PORT: 587 |
restart: always |
||||
EMAIL_USE_TLS: 'False' |
environment: |
||||
EMAIL_HOST: smtp.dominio.net |
ADMIN_PASSWORD: interlegis |
||||
EMAIL_HOST_USER: usuariosmtp |
ADMIN_EMAIL: email@dominio.net |
||||
EMAIL_SEND_USER: usuariosmtp |
DEBUG: 'False' |
||||
EMAIL_HOST_PASSWORD: senhasmtp |
EMAIL_PORT: 587 |
||||
USE_CHANNEL_LAYERS: 'True' |
EMAIL_USE_TLS: 'False' |
||||
PORT_CHANNEL_LAYERS: 6379 |
EMAIL_HOST: smtp.dominio.net |
||||
HOST_CHANNEL_LAYERS: saplredis |
EMAIL_HOST_USER: usuariosmtp |
||||
USE_SOLR: 'False' |
EMAIL_SEND_USER: usuariosmtp |
||||
TZ: America/Sao_Paulo |
EMAIL_HOST_PASSWORD: senhasmtp |
||||
volumes: |
USE_SOLR: 'True' |
||||
- sapl_data:/var/interlegis/sapl/data |
SOLR_COLLECTION: sapl |
||||
- sapl_media:/var/interlegis/sapl/media |
SOLR_URL: http://saplsolr:8983 |
||||
links: |
TZ: America/Sao_Paulo |
||||
- sapldb |
volumes: |
||||
- saplredis |
- sapl_data:/var/interlegis/sapl/data |
||||
ports: |
- sapl_media:/var/interlegis/sapl/media |
||||
- "80:80" |
depends_on: |
||||
|
- sapldb |
||||
|
- saplsolr |
||||
|
- saplredis |
||||
|
ports: |
||||
|
- "80:80" |
||||
|
networks: |
||||
|
- sapl-net |
||||
|
networks: |
||||
|
sapl-net: |
||||
|
name: sapl-net |
||||
|
driver: bridge |
||||
|
volumes: |
||||
|
sapldb_data: |
||||
|
sapl_data: |
||||
|
sapl_media: |
||||
|
solr_data: |
||||
|
solr_configsets: |
||||
|
Loading…
Reference in new issue