Add ports and other properties from original file

This commit is contained in:
patrick 2025-01-15 19:11:58 +00:00
parent a4f8b2c5a3
commit 4b4af40650

View File

@ -3,7 +3,6 @@ services:
build:
context: .
dockerfile: Dockerfile
volumes:
- ../..:/workspaces:cached
@ -15,9 +14,13 @@ services:
# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)
ports:
- 8085:80
depends_on:
- db
db:
image: mariadb:10.4
image: mariadb:latest
restart: unless-stopped
volumes:
- mariadb-data:/var/lib/mysql
@ -29,6 +32,8 @@ services:
# Add "forwardPorts": ["3306"] to **devcontainer.json** to forward MariaDB locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)
ports:
- 3306:3306
volumes:
mariadb-data: