128 lines
3.1 KiB
YAML
128 lines
3.1 KiB
YAML
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
|
||
|
tdtp-admin:
|
||
|
build:
|
||
|
dockerfile: Dockerfile.adminfull
|
||
|
image: dev.ilab.cl/tdtp/tdtp_admin:latest
|
||
|
ports:
|
||
|
- 4000:4000
|
||
|
environment:
|
||
|
- PORT=4000
|
||
|
- DBHOST=db
|
||
|
- DBPORT=5432
|
||
|
- DBNAME=database
|
||
|
- DBSCHEMA=desarrollo1
|
||
|
- DBUSER=postgres
|
||
|
- DBPASS=password
|
||
|
- DB_REDIS_HOST=dbproto
|
||
|
- DB_REDIS_PORT=6379
|
||
|
- SECRET_JWT="kf6Jc!f30Z!1k1N0#!%#"
|
||
|
|
||
|
- SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://dev_feed:testing99901@db01.tdtp.ilab.cl/devrt
|
||
|
- TIMEOUT=1200
|
||
|
# logging:
|
||
|
# driver: syslog
|
||
|
# options:
|
||
|
# syslog-address: "udp://rsyslog.vpc.ilab.cl:514"
|
||
|
# tag: "{{.Name}}"
|
||
|
tdtp-paraderos:
|
||
|
build:
|
||
|
dockerfile: Dockerfile.paraderos
|
||
|
image: dev.ilab.cl/tdtp/tdtp_paraderos:latest
|
||
|
ports:
|
||
|
- 4001:4000
|
||
|
environment:
|
||
|
- PORT=4000
|
||
|
- TRANSPORTE_API=https://transporte.hz.kursor.cl/api
|
||
|
- TRANSPORTE_USER=usuario1
|
||
|
- TRANSPORTE_PASS=usuario1
|
||
|
- DBHOST=db
|
||
|
- DBPORT=5432
|
||
|
- DBNAME=database
|
||
|
- DBSCHEMA=desarrollo1
|
||
|
- DBUSER=postgres
|
||
|
- DBPASS=password
|
||
|
- DB_REDIS_HOST=dbproto
|
||
|
- DB_REDIS_PORT=6379
|
||
|
- SECRET_JWT="kf6Jc!f30Z!1k1N0#!%#"
|
||
|
|
||
|
- SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://dev_feed:testing99901@db01.tdtp.ilab.cl/devrt
|
||
|
- TIMEOUT=1200
|
||
|
# logging:
|
||
|
# driver: syslog
|
||
|
# options:
|
||
|
# syslog-address: "udp://rsyslog.vpc.ilab.cl:514"
|
||
|
# tag: "{{.Name}}"
|
||
|
|
||
|
tdtp-cms:
|
||
|
build:
|
||
|
dockerfile: Dockerfile.cms
|
||
|
image: dev.ilab.cl/tdtp/tdtp_cms:latest
|
||
|
ports:
|
||
|
- 4002:4000
|
||
|
environment:
|
||
|
- PORT=4000
|
||
|
- DBHOST=db
|
||
|
- DBPORT=5432
|
||
|
- DBNAME=database
|
||
|
- DBSCHEMA=desarrollo1
|
||
|
- DBUSER=postgres
|
||
|
- DBPASS=password
|
||
|
- DB_REDIS_HOST=dbproto
|
||
|
- DB_REDIS_PORT=6379
|
||
|
- SECRET_JWT="kf6Jc!f30Z!1k1N0#!%#"
|
||
|
|
||
|
- SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://dev_feed:testing99901@db01.tdtp.ilab.cl/devrt
|
||
|
- TIMEOUT=1200
|
||
|
# logging:
|
||
|
# driver: syslog
|
||
|
# options:
|
||
|
# syslog-address: "udp://rsyslog.vpc.ilab.cl:514"
|
||
|
# tag: "{{.Name}}"
|
||
|
|
||
|
|
||
|
tdtp-proto:
|
||
|
build:
|
||
|
dockerfile: Dockerfile.proto
|
||
|
image: dev.ilab.cl/tdtp/tdtp_proto:latest
|
||
|
ports:
|
||
|
- 4005:4000
|
||
|
environment:
|
||
|
- TZ=America/Santiago
|
||
|
- PORT=4000
|
||
|
- DBHOST=db
|
||
|
- DBPORT=5432
|
||
|
- DBNAME=database
|
||
|
- DBSCHEMA=desarrollo1
|
||
|
- DBUSER=postgres
|
||
|
- DBPASS=password
|
||
|
|
||
|
- DB_REDIS_HOST=dbproto
|
||
|
- DB_REDIS_PORT=6379
|
||
|
- SECRET_JWT="kf6Jc!f30Z!1k1N0#!%#"
|
||
|
|
||
|
- SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://dev_feed:testing99901@db01.tdtp.ilab.cl/devrt
|
||
|
- TIMEOUT=1200
|
||
|
# logging:
|
||
|
# driver: syslog
|
||
|
# options:
|
||
|
# syslog-address: "udp://rsyslog.vpc.ilab.cl:514"
|
||
|
# tag: "{{.Name}}"
|
||
|
|
||
|
|
||
|
dbproto:
|
||
|
image: redis:7.2-alpine
|
||
|
ports:
|
||
|
- 6379:6379
|
||
|
|
||
|
db:
|
||
|
# image: postgis/postgis:14-3.4-alpine
|
||
|
image: postgres:14-alpine-geometry
|
||
|
ports:
|
||
|
- 5436:5432
|
||
|
environment:
|
||
|
POSTGRES_PASSWORD: password
|
||
|
POSTGRES_DB: database
|