Browse Source

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

This network is unnecessary because Compose creates a network for all services by default.
pull/1163/head
Elliott Shugerman 5 years ago
committed by Nicolas Giard
parent
commit
5b36988d6d
1 changed files with 0 additions and 7 deletions
  1. 7
      dev/examples/docker-compose.yml

7
dev/examples/docker-compose.yml

@ -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:
Loading…
Cancel
Save