2018-08-28 04:23:05 +00:00
|
|
|
# -- DEV DOCKER-COMPOSE --
|
|
|
|
# -- DO NOT USE IN PRODUCTION! --
|
|
|
|
|
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres:9-alpine
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: wiki
|
|
|
|
POSTGRES_PASSWORD: wikijsrocks
|
|
|
|
POSTGRES_USER: wikijs
|
|
|
|
logging:
|
|
|
|
driver: "none"
|
|
|
|
volumes:
|
|
|
|
- db-data:/var/lib/postgresql/data
|
|
|
|
networks:
|
|
|
|
- wikinet
|
|
|
|
ports:
|
|
|
|
- "15432:5432"
|
|
|
|
|
2018-12-15 22:15:13 +00:00
|
|
|
adminer:
|
|
|
|
image: adminer:latest
|
|
|
|
logging:
|
|
|
|
driver: "none"
|
|
|
|
networks:
|
|
|
|
- wikinet
|
|
|
|
ports:
|
|
|
|
- "3001:8080"
|
|
|
|
|
2020-02-28 21:49:18 +00:00
|
|
|
# solr:
|
|
|
|
# image: solr:7-alpine
|
|
|
|
# logging:
|
|
|
|
# driver: "none"
|
|
|
|
# networks:
|
|
|
|
# - wikinet
|
|
|
|
# ports:
|
|
|
|
# - "8983:8983"
|
|
|
|
# volumes:
|
|
|
|
# - solr-data:/opt/solr/server/solr/mycores
|
|
|
|
# entrypoint:
|
|
|
|
# - docker-entrypoint.sh
|
|
|
|
# - solr-precreate
|
|
|
|
# - wiki
|
2019-03-09 05:51:02 +00:00
|
|
|
|
2018-08-28 04:23:05 +00:00
|
|
|
wiki:
|
|
|
|
build:
|
2020-02-28 21:49:18 +00:00
|
|
|
context: ../..
|
|
|
|
dockerfile: dev/containers/Dockerfile
|
2018-08-28 04:23:05 +00:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
networks:
|
|
|
|
- wikinet
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
volumes:
|
2020-02-28 21:49:18 +00:00
|
|
|
- ../..:/wiki
|
2019-01-25 22:19:52 +00:00
|
|
|
- /wiki/node_modules
|
2018-08-28 04:23:05 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
wikinet:
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db-data:
|
2020-02-28 21:49:18 +00:00
|
|
|
# solr-data:
|