Skip to content

Commit

Permalink
chore: fix docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
kernoeb committed Jan 23, 2024
1 parent 4d6646d commit 8889dc4
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 16 deletions.
10 changes: 0 additions & 10 deletions docker-compose-dev-arm64.yml

This file was deleted.

4 changes: 1 addition & 3 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
version: '2'

services:
mongodb:
image: mongo:7.0
restart: always
ports:
- "27017:27017"
volumes:
- '.mongo-planning:/bitnami/mongodb'
- '.mongo-planning:/data/db'
28 changes: 28 additions & 0 deletions docker-compose-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
services:
web:
#build: .
image: ghcr.io/kernoeb/planningsup/planning
restart: always
stdin_open: true
tty: true
ports:
- "31021:3000"
networks:
- planning
depends_on:
- mongodb
env_file:
- .env
environment:
- MONGODB_URL=mongodb:27017
mongodb:
image: mongo:7.0
restart: always
volumes:
- '.mongo-planning:/data/db'
networks:
- planning

networks:
planning:
driver: bridge
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
web:
#build: .
Expand All @@ -24,7 +22,7 @@ services:
image: mongo:7.0
restart: always
volumes:
- '/opt/planning_v2:/bitnami/mongodb'
- '/opt/planning_v2:/data/db'
networks:
- planning

Expand Down

0 comments on commit 8889dc4

Please sign in to comment.