wikijs-fork/dev/containers/docker-compose.yml
Lukas Frischknecht a90dc8d5b5
misc: add support for VSCode remote development (#1533)
* Add support for VSCode remote development

* misc: remote dev containers fixes

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2020-02-28 16:49:18 -05:00

65 lines
1.1 KiB
YAML

# -- 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"
adminer:
image: adminer:latest
logging:
driver: "none"
networks:
- wikinet
ports:
- "3001:8080"
# 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
wiki:
build:
context: ../..
dockerfile: dev/containers/Dockerfile
depends_on:
- db
networks:
- wikinet
ports:
- "3000:3000"
volumes:
- ../..:/wiki
- /wiki/node_modules
networks:
wikinet:
volumes:
db-data:
# solr-data: