| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| # Full deployment (Core, Console, Enduser) on PostgreSQL with JSONB support |
| |
| version: '3.3' |
| |
| services: |
| db: |
| image: postgres:12 |
| restart: always |
| environment: |
| POSTGRES_DB: syncope |
| POSTGRES_USER: syncope |
| POSTGRES_PASSWORD: syncope |
| |
| syncope: |
| depends_on: |
| - db |
| image: apache/syncope:${SYNCOPE_VERSION} |
| ports: |
| - "18080:8080" |
| restart: always |
| environment: |
| DBMS: pgjsonb |
| DB_URL: jdbc:postgresql://db:5432/syncope?stringtype=unspecified |
| DB_USER: syncope |
| DB_PASSWORD: syncope |
| DB_POOL_MAX: 10 |
| DB_POOL_MIN: 2 |
| OPENJPA_REMOTE_COMMIT: sjvm |
| |
| syncope-console: |
| depends_on: |
| - syncope |
| image: apache/syncope-console:${SYNCOPE_VERSION} |
| ports: |
| - "28080:8080" |
| restart: always |
| environment: |
| CORE_SCHEME: http |
| CORE_HOST: syncope |
| CORE_PORT: 8080 |
| |
| syncope-enduser: |
| depends_on: |
| - syncope |
| image: apache/syncope-enduser:${SYNCOPE_VERSION} |
| ports: |
| - "38080:8080" |
| restart: always |
| environment: |
| CORE_SCHEME: http |
| CORE_HOST: syncope |
| CORE_PORT: 8080 |
| DOMAIN: Master |