You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fast-insiders/docker-compose.yml

46 lines
1016 B

version: "3"
services:
client:
container_name: fast-insiders-client
image: fast-insiders-client:latest
build:
dockerfile: ./client/Dockerfile
restart: always
ports:
- 8080:8080
environment:
- PERSEUS_HOST=0.0.0.0
- API_URL=http://localhost:8000
server:
container_name: fast-insiders-server
image: fast-insiders-server:latest
build:
dockerfile: ./server/Dockerfile
restart: always
ports:
- 8000:8000
links:
- db
environment:
- MYSQL_USER=fiuser
- MYSQL_PASSWORD=root
- MYSQL_HOST=db
- MYSQL_DATABASE=fast_insiders
- RUST_LOG=info,lopdf=error
db:
image: mariadb:10.5
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_PASSWORD=root
- MYSQL_DATABASE=fast_insiders
- MYSQL_USER=fiuser
volumes:
fi-data:
driver: local
db: