diff options
author | Jesús <heckyel@hyperbola.info> | 2022-03-24 09:08:06 +0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-03-24 09:08:06 +0800 |
commit | 32f39b28d952e837f50ddd3cc69f6813f3a2bf26 (patch) | |
tree | 679fbf978db51b2584d53d1d904915591dd02ac2 | |
parent | d4f8350bd264c14dbfdd12f21b145ac6ccc912fd (diff) | |
download | heroeapi-32f39b28d952e837f50ddd3cc69f6813f3a2bf26.tar.lz heroeapi-32f39b28d952e837f50ddd3cc69f6813f3a2bf26.tar.xz heroeapi-32f39b28d952e837f50ddd3cc69f6813f3a2bf26.zip |
README.md: update
-rw-r--r-- | README.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |