aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-03-24 09:08:06 +0800
committerJesús <heckyel@hyperbola.info>2022-03-24 09:08:06 +0800
commit32f39b28d952e837f50ddd3cc69f6813f3a2bf26 (patch)
tree679fbf978db51b2584d53d1d904915591dd02ac2
parentd4f8350bd264c14dbfdd12f21b145ac6ccc912fd (diff)
downloadheroeapi-32f39b28d952e837f50ddd3cc69f6813f3a2bf26.tar.lz
heroeapi-32f39b28d952e837f50ddd3cc69f6813f3a2bf26.tar.xz
heroeapi-32f39b28d952e837f50ddd3cc69f6813f3a2bf26.zip
README.md: update
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 0bb5bc9..bea9fd4 100644
--- a/README.md
+++ b/README.md
@@ -74,11 +74,11 @@ MONGO_INITDB_DATABASE=admin
Write `docker-compose.yml`:
```yaml
-version: '3'
+version: '3.5'
services:
app:
- image: rusian/heroeapi
+ image: rusian/heroesapi
container_name: heroeapi
env_file: .env
networks:
@@ -91,20 +91,20 @@ services:
mongo:
image: mongo:4.4.12-focal
container_name: heroeapi_db
+ networks:
+ - heroeapi
restart: always
command: [--auth]
env_file:
- .db.env
- networks:
- - heroeapi
volumes:
- ./heroeapi_db:/data/db
ports:
- "27017:27017"
networks:
- default:
- name: heroeapi
+ heroeapi:
+ driver: bridge
```
```console