Create basic yaml file which does not need any support files

This commit is contained in:
mpolawar
2022-02-28 13:48:16 +01:00
committed by GitHub
parent 6531426a96
commit 3b18cca2d2

13
basic/basic.yaml Normal file
View File

@@ -0,0 +1,13 @@
version: '3'
services:
web:
image: nginx
db:
image: mysql
ports:
- "3310:3306"
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=user
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=demodb