Sign inSign up

gloursdocker/test-push-with-env-file:latest

Manifest digest

sha256:964e715660d6f6c3b384e05e7338613795f7dcd3613890cfa57e3540353b9d6d

Last pushed

over 1 year by gloursdocker

Type

Compose

Manifest digest

sha256:964e715660d6f6c3b384e05e7338613795f7dcd3613890cfa57e3540353b9d6d

Compose file content

services:
  db:
    image: mysql
    container_name: db
    environment:
      MYSQL_DATABASE: avatar
      MYSQL_ROOT_PASSWORD: toto

  api:
    image: gloursdocker/avatars-api
    container_name: api
    build:
      context: .
      dockerfile: ./deploy/api.dockerfile
    develop:
      watch:
        - path: api/requirements.txt
          action: rebuild
        - path: api/
          target: /app/api/
          action: sync
        - path: README.md
          action: rebuild
    env_file:
      - config.env
    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
        - path: README.md
          action: rebuild
    ports:
      - 5735:5173      

Docker commands

docker compose -f oci://gloursdocker/test-push-with-env-file:latest up

Use the above command to pull and run the Compose file. Learn more.

Images used

Image + 1 more

MySQL is a widely used, open-source relational database management system (RDBMS).


Pulls

1B+

Stars

16185

Last Updated

5 days

Image


Pulls

1.1K

Stars

0

Last Updated

12 months

Image


Pulls

1.1K

Stars

0

Last Updated

5 months