23 行
381 B
YAML
23 行
381 B
YAML
version: "3.9"
|
|
services:
|
|
app:
|
|
build: ./infra/php
|
|
volumes:
|
|
- ./backend:/work
|
|
|
|
web:
|
|
image: nginx:1.20-alpine
|
|
ports:
|
|
- 10080:80
|
|
volumes:
|
|
- ./backend:/work
|
|
- ./infra/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
|
working_dir: /work
|
|
|
|
db:
|
|
build: ./infra/mysql
|
|
volumes:
|
|
- db-store:/var/lib/mysql
|
|
|
|
volumes:
|
|
db-store: |