mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2026-01-27 10:23:13 +00:00
Adapt new config file changes Fix script name Add working-directory Run docker-compose exec in the background Test Github actions working-directory behaviour Revert previous test Change shebang path Add some debug information to workflow Disable pseudo-tty allocation Fix variable name
111 lines
2.9 KiB
YAML
111 lines
2.9 KiB
YAML
version: '3'
|
|
|
|
volumes:
|
|
postgresql_data:
|
|
driver: local
|
|
mysql_data:
|
|
driver: local
|
|
zookeeper_data:
|
|
driver: local
|
|
zookeeper_datalog:
|
|
driver: local
|
|
kafka_data:
|
|
driver: local
|
|
|
|
services:
|
|
postgresql:
|
|
image: "postgres:${POSTGRES_TAG}"
|
|
env_file:
|
|
- .env_postgresql
|
|
restart: unless-stopped
|
|
volumes:
|
|
- postgresql_data:/var/lib/postgresql/data
|
|
- ./init-ucentralsec-db.sh:/docker-entrypoint-initdb.d/init-ucentralsec-db.sh
|
|
|
|
mysql:
|
|
image: "mysql:${MYSQL_TAG}"
|
|
env_file:
|
|
- .env_mysql
|
|
restart: unless-stopped
|
|
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
|
volumes:
|
|
- mysql_data:/var/lib/mysql
|
|
|
|
ucentralgw.wlan.local:
|
|
image: "tip-tip-wlan-cloud-ucentral.jfrog.io/ucentralgw:${UCENTRALGW_TAG}"
|
|
env_file:
|
|
- .env_ucentralgw
|
|
depends_on:
|
|
- postgresql
|
|
- kafka
|
|
- rttys
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:15002:15002"
|
|
- "127.0.0.1:16002:16002"
|
|
- "127.0.0.1:16003:16003"
|
|
- "127.0.0.1:16102:16102"
|
|
volumes:
|
|
- ./ucentralgw-data:/ucentralgw-data
|
|
- ./certs:/ucentralgw-data/certs
|
|
- ../certificates/root.pem:/ucentralgw-data/certs/root.pem
|
|
- ../certificates/issuer.pem:/ucentralgw-data/certs/issuer.pem
|
|
- ../certificates/clientcas.pem:/ucentralgw-data/certs/clientcas.pem
|
|
|
|
ucentralgw-ui:
|
|
image: "tip-tip-wlan-cloud-ucentral.jfrog.io/ucentralgw-ui:${UCENTRALGWUI_TAG}"
|
|
env_file:
|
|
- .env_ucentralgw-ui
|
|
depends_on:
|
|
- ucentralgw.wlan.local
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:80:80"
|
|
|
|
ucentralsec.wlan.local:
|
|
image: "tip-tip-wlan-cloud-ucentral.jfrog.io/ucentralsec:${UCENTRALSEC_TAG}"
|
|
env_file:
|
|
- .env_ucentralsec
|
|
depends_on:
|
|
- postgresql
|
|
- kafka
|
|
- rttys
|
|
- ucentralgw.wlan.local
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:16001:16001"
|
|
- "127.0.0.1:16101:16101"
|
|
volumes:
|
|
- ./ucentralsec-data:/ucentralsec-data
|
|
- ./certs:/ucentralsec-data/certs
|
|
- ../certificates/root.pem:/ucentralsec-data/certs/root.pem
|
|
- ../certificates/issuer.pem:/ucentralsec-data/certs/issuer.pem
|
|
- ../certificates/clientcas.pem:/ucentralsec-data/certs/clientcas.pem
|
|
|
|
rttys:
|
|
image: "tip-tip-wlan-cloud-ucentral.jfrog.io/rttys:${RTTYS_TAG}"
|
|
depends_on:
|
|
- mysql
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./certs/restapi-cert.pem:/etc/rttys/restapi-cert.pem
|
|
- ./certs/restapi-key.pem:/etc/rttys/restapi-key.pem
|
|
- ./rttys/rttys.conf:/rttys/rttys.conf
|
|
|
|
zookeeper:
|
|
image: "zookeeper:${ZOOKEEPER_TAG}"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- zookeeper_data:/data
|
|
- zookeeper_datalog:/datalog
|
|
|
|
kafka:
|
|
image: "docker.io/bitnami/kafka:${KAFKA_TAG}"
|
|
env_file:
|
|
- .env_kafka
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- zookeeper
|
|
volumes:
|
|
- kafka_data:/bitnami/kafka
|