docs: remove wikinet network from docker-compose.yml example (#1144)

This network is unnecessary because Compose creates a network for all services by default.
This commit is contained in:
Elliott Shugerman 2019-10-25 16:16:19 -06:00 committed by Nicolas Giard
parent 7db814c7ad
commit 5b36988d6d

View File

@ -10,8 +10,6 @@ services:
driver: "none" driver: "none"
volumes: volumes:
- db-data:/var/lib/postgresql/data - db-data:/var/lib/postgresql/data
networks:
- wikinet
wiki: wiki:
image: requarks/wiki:beta image: requarks/wiki:beta
@ -24,13 +22,8 @@ services:
DB_USER: wikijs DB_USER: wikijs
DB_PASS: wikijsrocks DB_PASS: wikijsrocks
DB_NAME: wiki DB_NAME: wiki
networks:
- wikinet
ports: ports:
- "3000:3000" # <-- replace with "80:3000" to listen on port 80 instead - "3000:3000" # <-- replace with "80:3000" to listen on port 80 instead
networks:
wikinet:
volumes: volumes:
db-data: db-data: