Skip to content

Commit

Permalink
chore: upgrade docker compose yaml file
Browse files Browse the repository at this point in the history
the file follows docker compose specification at https://docs.docker.com/compose/compose-application-model/#the-compose-file
-
  • Loading branch information
orlandocavassani committed Apr 10, 2024
1 parent b6ddd93 commit 072f5bd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docker-compose.yml → compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
php:
build: docker/php
Expand All @@ -9,6 +7,8 @@ services:
- .:/var/www/html
environment:
- DB_HOST=db
networks:
- mongolid

db:
image: mongo:5.0
Expand All @@ -21,6 +21,8 @@ services:
memory: 512M
volumes:
- db:/data/db
networks:
- mongolid

mkdocs:
image: polinux/mkdocs
Expand All @@ -30,3 +32,6 @@ services:
volumes:
db:
driver: local

networks:
mongolid:

0 comments on commit 072f5bd

Please sign in to comment.