Browse Source
Create docker-compose.yml to use in Portainer
I need help to do this correctly.
pull/2/head
Fábio Mendes
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
13 additions and
0 deletions
-
docker-compose.yml
|
|
@ -0,0 +1,13 @@ |
|
|
|
version: '3' |
|
|
|
services: |
|
|
|
web: |
|
|
|
image: lwan |
|
|
|
db: |
|
|
|
image: mariadb |
|
|
|
ports: |
|
|
|
- "9090:9090" |
|
|
|
environment: |
|
|
|
- MYSQL_ROOT_PASSWORD=password |
|
|
|
- MYSQL_USER=user |
|
|
|
- MYSQL_PASSWORD=password |
|
|
|
- MYSQL_DATABASE=demodb |