version: "3.9"
services:
app:
build: ./infra/php
volumes:
- ./backend:/work
web:
image: nginx:1.20-alpine
ports:
- 80:80
- ./infra/nginx/default.conf:/etc/nginx/conf.d/default.conf
- /etc/letsencrypt:/etc/letsencrypt
working_dir: /work
certbot:
image: certbot/certbot:v1.7.0
command: ["--version"]
db:
build: ./infra/mysql
- db-store:/var/lib/mysql
db-store: