diff --git a/docker-compose.yml b/docker-compose.yml index 46a4d11..2c8fb5a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,42 +1,42 @@ -version: '3.9' - -services: - dbproxy: - image: gitea.basebox.health/basebox-distribution/dbproxy - ports: - - "8081:8081" - command: - ["--config-file=/bbconf/dbproxy-config.toml"] - volumes: - - ./bbconf/basebox/:/bbconf - broker: - image: gitea.basebox.health/basebox-distribution/broker - ports: - - "8080:8080" - command: - ["--config-file=/bbconf/broker-config.toml"] - volumes: - - ./bbconf/basebox/:/bbconf - db: - image: postgres:15-alpine - volumes: - - postgres5:/var/lib/postgresql/data - - ./bbconf/postgres:/docker-entrypoint-initdb.d - ports: - - "5430:5432" - environment: - - POSTGRES_PASSWORD=bigsecret - - POSTGRES_USER=bb_todo - - POSTGRES_DB=bb_todo - web: - build: - context: . - dockerfile: web.Dockerfile - target: development - ports: - - "5167:5167" - volumes: - - .:/project - - /project/node_modules -volumes: - postgres5: +version: '3.9' + +services: + dbproxy: + image: gitea.basebox.health/basebox-distribution/dbproxy:latest + ports: + - "8081:8081" + command: + ["--config-file=/bbconf/dbproxy-config.toml"] + volumes: + - ./bbconf/basebox/:/bbconf + broker: + image: gitea.basebox.health/basebox-distribution/broker:latest + ports: + - "8080:8080" + command: + ["--config-file=/bbconf/broker-config.toml"] + volumes: + - ./bbconf/basebox/:/bbconf + db: + image: postgres:15-alpine + volumes: + - postgres5:/var/lib/postgresql/data + - ./bbconf/postgres:/docker-entrypoint-initdb.d + ports: + - "5430:5432" + environment: + - POSTGRES_PASSWORD=bigsecret + - POSTGRES_USER=bb_todo + - POSTGRES_DB=bb_todo + web: + build: + context: . + dockerfile: web.Dockerfile + target: development + ports: + - "5167:5167" + volumes: + - .:/project + - /project/node_modules +volumes: + postgres5: