Files
cheeper-ddd-cqrs-example/docker-compose.yaml
2022-08-31 20:49:44 +02:00

25 lines
540 B
YAML

services:
mysql:
image: mariadb:10.9.2
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_USER: user
MYSQL_PASSWORD: pass
MYSQL_DATABASE: db
app:
image: ghcr.io/dddshelf/cheeper-ddd-cqrs-example/app:${DOCKER_IMAGE_TAG:-latest}
build:
dockerfile: Dockerfile
context: .
target: dev
args:
- UID=${UID:-}
- GID=${GID:-}
init: true
env_file: .env.docker.dist
ports:
- "8000:80"
volumes:
- ./:/var/www/html