diff --git a/dev/containers/docker-compose.yml b/dev/containers/docker-compose.yml index dce10ba3..f5b3ac81 100644 --- a/dev/containers/docker-compose.yml +++ b/dev/containers/docker-compose.yml @@ -4,6 +4,7 @@ version: "3" services: db: + container_name: wiki-db image: postgres:9-alpine environment: POSTGRES_DB: wiki @@ -13,26 +14,22 @@ services: driver: "none" volumes: - db-data:/var/lib/postgresql/data - networks: - - wikinet ports: - "15432:5432" adminer: + container_name: wiki-adminer image: adminer:latest logging: driver: "none" - networks: - - wikinet ports: - "3001:8080" # solr: + # container_name: wiki-solr # image: solr:7-alpine # logging: # driver: "none" - # networks: - # - wikinet # ports: # - "8983:8983" # volumes: @@ -43,21 +40,19 @@ services: # - wiki wiki: + container_name: wiki-app build: context: ../.. dockerfile: dev/containers/Dockerfile depends_on: - db - networks: - - wikinet ports: - "3000:3000" volumes: - ../..:/wiki - /wiki/node_modules + - /wiki/.git -networks: - wikinet: volumes: db-data: