mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.1 KiB
65 lines
1.1 KiB
6 years ago
|
# -- 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"
|
||
|
|
||
6 years ago
|
adminer:
|
||
|
image: adminer:latest
|
||
|
logging:
|
||
|
driver: "none"
|
||
|
networks:
|
||
|
- wikinet
|
||
|
ports:
|
||
|
- "3001:8080"
|
||
|
|
||
5 years ago
|
# 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
|
||
6 years ago
|
|
||
6 years ago
|
wiki:
|
||
|
build:
|
||
5 years ago
|
context: ../..
|
||
|
dockerfile: dev/containers/Dockerfile
|
||
6 years ago
|
depends_on:
|
||
|
- db
|
||
|
networks:
|
||
|
- wikinet
|
||
|
ports:
|
||
|
- "3000:3000"
|
||
|
volumes:
|
||
5 years ago
|
- ../..:/wiki
|
||
6 years ago
|
- /wiki/node_modules
|
||
6 years ago
|
|
||
|
networks:
|
||
|
wikinet:
|
||
|
|
||
|
volumes:
|
||
|
db-data:
|
||
5 years ago
|
# solr-data:
|