sha256:6bc945e58b67f7bfa4ce236b7e9e8fb12ba2425fa0ccfed766f81c36decd6412
Last pushed
12 days by tiizss
Type
Compose
Manifest digest
sha256:6bc945e58b67f7bfa4ce236b7e9e8fb12ba2425fa0ccfed766f81c36decd6412
name: breakinglab_bricks
services:
bricks_db:
container_name: bricks_db
labels:
breakinglab.lab: bricks
command:
- --default-authentication-plugin=mysql_native_password
environment:
MYSQL_DATABASE: bricks
MYSQL_ROOT_PASSWORD: root
image: tiizss/bricks-mysql-5.7:5.7
networks:
bricks_net:
aliases:
- db
healthcheck:
test:
- CMD
- mysqladmin
- ping
- -h
- 127.0.0.1
- -proot
timeout: 5s
interval: 3s
retries: 30
bricks_web:
container_name: bricks_web
labels:
breakinglab.lab: bricks
image: tiizss/bricks:2.2
networks:
bricks_net:
aliases:
- web
depends_on:
bricks_db:
condition: service_healthy
required: true
ports:
- mode: ingress
host_ip: 127.21.0.1
target: 80
published: "80"
protocol: tcp
networks:
bricks_net:
name: bricks_net
services:
bricks_db:
image: docker.io/tiizss/bricks-mysql-5.7:5.7@sha256:408331cde97603602b83b16c1d5875d896fef37501b0bb58b240093ec7a1ffc6
bricks_web:
image: docker.io/tiizss/bricks:2.2@sha256:b9177d8df912c9df7aba3a3d32e4bc4927975a8f6f190accb2cfa2215570ddb6
docker compose -f oci://tiizss/breakinglab-bricks-2.2:2.2 upUse the above command to pull and run the Compose file. Learn more.