Skip to content
Snippets Groups Projects
Commit 9bb39d0f authored by Noel Simbolon's avatar Noel Simbolon
Browse files

Merge branch 'dev' into 'main'

Merge dev into main

See merge request !1
parents 75a34b93 388fd781
Branches
Tags
1 merge request!1Merge dev into main
version: '3.8'
services:
tonality-client:
container_name: tonality-client
hostname: tonality-client
build:
context: ../tonality-client
dockerfile: Dockerfile
ports:
- "8000:5173"
depends_on:
- tonality-rest
tonality-rest:
container_name: tonality-rest
hostname: tonality-rest
build:
context: ../tonality-rest
dockerfile: Dockerfile
env_file:
- env/tonality-rest.env
ports:
- "8001:3001"
volumes:
- ../tonality-rest/src:/tonality/tonality-rest/src # Mount source code into container (for development only)
depends_on:
tonality-rest-db:
condition: service_healthy
networks:
- backend
tonality-rest-db:
container_name: tonality-rest-db
hostname: tonality-rest-db
image: postgres:15.4-alpine
env_file:
- env/tonality-rest-db.env
healthcheck:
test: pg_isready
timeout: 45s
interval: 10s
retries: 10
ports:
- "8002:5432"
networks:
- backend
tonality-soap:
container_name: tonality-soap
hostname: tonality-soap
build:
context: ../tonality-soap
dockerfile: Dockerfile
restart: always
env_file:
- env/tonality-soap.env
ports:
- "8003:8888"
volumes:
- ../tonality-soap/src:/tonality/tonality-soap/src # Mount source code into container (for development only)
depends_on:
- tonality-soap-db
networks:
- backend
tonality-soap-db:
container_name: tonality-soap-db
hostname: tonality-soap-db
image: mysql:8.2.0
env_file:
- env/tonality-soap-db.env
ports:
- "8004:3306"
networks:
- backend
tonality-plain:
container_name: tonality-plain
hostname: tonality-plain
build:
context: ../tonality-plain
dockerfile: Dockerfile
env_file:
- env/tonality-plain.env
ports:
- "8005:80"
volumes:
- ../tonality-plain:/var/www/html # Mount source code into the container (for development only)
- ../tonality-plain/storage:/var/www/html/storage # Map storage directory to a volume
depends_on:
- tonality-plain-db
networks:
- backend
tonality-plain-db:
container_name: tonality-plain-db
hostname: tonality-plain-db
image: mysql:8.2.0
env_file:
- env/tonality-plain-db.env
volumes:
- ../tonality-plain/migrations/tonality.sql:/docker-entrypoint-initdb.d/tonality.sql:ro
ports:
- "8006:3306"
networks:
- backend
networks:
backend:
DB_HOST=db
MYSQL_USER=
MYSQL_PASSWORD=
MYSQL_ROOT_PASSWORD=
MYSQL_DATABASE=
MYSQL_PORT=3306
\ No newline at end of file
DB_HOST=db
MYSQL_USER=
MYSQL_PASSWORD=
MYSQL_ROOT_PASSWORD=
MYSQL_DATABASE=
MYSQL_PORT=3306
\ No newline at end of file
API_KEY=
SOAP_URL=
SOAP_WS_URL=
SOAP_API_KEY=
REST_URL=
REST_API_KEY=
REST_USERNAME=
REST_PASSWORD=
\ No newline at end of file
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
\ No newline at end of file
EXPRESS_PORT=
JWT_SHARED_SECRET=
DATABASE_URL=
SOAP_URL=
SOAP_WS_URL=
SOAP_API_KEY=
PHP_URL=
PHP_API_KEY=
MYSQL_ROOT_PASSWORD=
MYSQL_DATABASE=
\ No newline at end of file
DATABASE_URL=
DATABASE_USERNAME=
DATABASE_PASSWORD=
API_KEY=
EXPIRATION_DAYS=
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment