sha256:6d5e0953f6cdcb80da2c5bae453dc67c06e5e29f8a9c6b0580bf928a7b39a3c7
Last pushed
12 months by gloursdocker
Type
Compose
Manifest digest
sha256:6d5e0953f6cdcb80da2c5bae453dc67c06e5e29f8a9c6b0580bf928a7b39a3c7
services:
db:
image: mysql
environment:
MYSQL_DATABASE: avatar
MYSQL_ROOT_PASSWORD: toto
api:
image: gloursdocker/avatars-api
build:
context: .
dockerfile: ./deploy/api.dockerfile
develop:
watch:
- path: api/requirements.txt
action: rebuild
- path: api/
target: /app/api/
action: sync
environment:
- DB_PASSWORD=toto
ports:
- 5734:80
web:
image: gloursdocker/avatars-web
build:
context: .
dockerfile: ./deploy/web.dockerfile
develop:
watch:
- path: web/package.json
action: rebuild
- path: web/yarn.lock
action: rebuild
- path: web/
target: /app
action: sync
ports:
- 5735:5173
services:
api:
environment:
- TRY=It
services:
api:
image: docker.io/gloursdocker/avatars-api:latest@sha256:67acbf0b0c6637bcae65e658150f8712d08758b3b69989fcc2ee8e32f0fddd7a
db:
image: docker.io/library/mysql:latest@sha256:91447968e66961302339ec4dc4d385f5e1a957d98e63c7d52ecf8b1de0907346
web:
image: docker.io/gloursdocker/avatars-web:latest@sha256:27bdaac72de778fb844b96d8655e89af0523e746248f5fa5bbfe916fe2df1780
docker compose -f oci://gloursdocker/test-containerd-client:custom-tag upUse the above command to pull and run the Compose file. Learn more.
MySQL is a widely used, open-source relational database management system (RDBMS).
Pulls
1B+
Stars
16185
Last Updated
8 days