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

51 lines
1.1 KiB

version: '3'
services:
client:
container_name: fast-insiders-client
image: fast-insiders-client:latest
build:
context: .
args:
API_URL: http://localhost:8000/v1/
dockerfile: ./client/Dockerfile
restart: always
ports:
- 8080:8080
server:
container_name: fast-insiders-server
image: fast-insiders-server:latest
build:
context: .
args:
API_URL: http://localhost:8000/v1/
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: