mirror of https://github.com/interlegis/sapl.git
eribeiro
5 years ago
2 changed files with 66 additions and 35 deletions
@ -1,34 +1,65 @@ |
|||||
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: |
||||
- "5433:5432" |
- sapldb_data:/var/lib/postgresql/data/ |
||||
sapl: |
ports: |
||||
image: interlegis/sapl:3.1.161-RC0 |
- "5433:5432" |
||||
#build: . |
networks: |
||||
restart: always |
- sapl-net |
||||
environment: |
saplsolr: |
||||
ADMIN_PASSWORD: interlegis |
image: solr:8.3 |
||||
ADMIN_EMAIL: email@dominio.net |
restart: always |
||||
DEBUG: 'False' |
command: bin/solr start -c -f |
||||
EMAIL_PORT: 587 |
volumes: |
||||
EMAIL_USE_TLS: 'False' |
- solr_data:/opt/solr/server/solr |
||||
EMAIL_HOST: smtp.dominio.net |
- solr_configsets:/opt/solr/server/solr/configsets |
||||
EMAIL_HOST_USER: usuariosmtp |
ports: |
||||
EMAIL_SEND_USER: usuariosmtp |
- "8983:8983" |
||||
EMAIL_HOST_PASSWORD: senhasmtp |
networks: |
||||
TZ: America/Sao_Paulo |
- sapl-net |
||||
volumes: |
sapl: |
||||
- sapl_data:/var/interlegis/sapl/data |
image: interlegis/sapl:3.1.161-RC0 |
||||
- sapl_media:/var/interlegis/sapl/media |
#build: . |
||||
links: |
restart: always |
||||
- sapldb |
environment: |
||||
ports: |
ADMIN_PASSWORD: interlegis |
||||
- "80:80" |
ADMIN_EMAIL: email@dominio.net |
||||
|
DEBUG: 'False' |
||||
|
EMAIL_PORT: 587 |
||||
|
EMAIL_USE_TLS: 'False' |
||||
|
EMAIL_HOST: smtp.dominio.net |
||||
|
EMAIL_HOST_USER: usuariosmtp |
||||
|
EMAIL_SEND_USER: usuariosmtp |
||||
|
EMAIL_HOST_PASSWORD: senhasmtp |
||||
|
USE_SOLR: 'True' |
||||
|
SOLR_COLLECTION: sapl |
||||
|
SOLR_URL: http://saplsolr:8983 |
||||
|
TZ: America/Sao_Paulo |
||||
|
volumes: |
||||
|
- sapl_data:/var/interlegis/sapl/data |
||||
|
- sapl_media:/var/interlegis/sapl/media |
||||
|
depends_on: |
||||
|
- sapldb |
||||
|
- saplsolr |
||||
|
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