2022-08-13 18:21:23 +03:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
db:
|
2022-08-19 02:20:06 +03:00
|
|
|
container_name: BW1_DB_MYSQL
|
2022-08-13 18:21:23 +03:00
|
|
|
image: mysql/mysql-server:8.0
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_HOST: db
|
|
|
|
MYSQL_USER_HOST: db
|
|
|
|
MYSQL_ROOT_PASSWORD: dXjw127124dJ
|
|
|
|
MYSQL_USER: blueuser
|
|
|
|
MYSQL_PASSWORD: dXjw127124dJ
|
|
|
|
MYSQL_DATABASE: bluedb
|
|
|
|
volumes:
|
|
|
|
- ./docker-entrypoint-initdb.d/:/docker-entrypoint-initdb.d/
|
2022-08-18 23:01:27 +03:00
|
|
|
phpmyadmin:
|
2022-08-19 02:20:06 +03:00
|
|
|
container_name: BW_PHPMYADMIN
|
2022-08-18 23:01:27 +03:00
|
|
|
image: phpmyadmin/phpmyadmin
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
environment:
|
|
|
|
MYSQL_USERNAME: 'blueuser'
|
|
|
|
MYSQL_ROOT_PASSWORD: 'dXjw127124dJ'
|
2022-08-13 18:21:23 +03:00
|
|
|
# ports:
|
|
|
|
# - "3308:3306"
|
2022-08-22 05:13:53 +03:00
|
|
|
bapi120:
|
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: ./BlueWest.Api/Dockerfile
|
|
|
|
ports:
|
2022-09-17 22:13:35 +03:00
|
|
|
- "8080:80"
|
2022-08-22 05:13:53 +03:00
|
|
|
environment:
|
|
|
|
VIRTUAL_HOST: localhost
|
|
|
|
restart: always
|
|
|
|
links:
|
|
|
|
- db:db
|
|
|
|
container_name: BW1_API
|
2022-08-13 18:21:23 +03:00
|
|
|
|
2022-09-17 22:13:35 +03:00
|
|
|
redis:
|
|
|
|
image: "redis:alpine"
|
|
|
|
command: redis-server --requirepass Sup3rSecurePass0rd
|
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
|
|
|
|
|
|
|
environment:
|
|
|
|
- REDIS_REPLICATION_MODE=master
|