Skip to content

Commit

Permalink
fix: fixing develop instance
Browse files Browse the repository at this point in the history
  • Loading branch information
nike-getto committed Aug 23, 2024
1 parent e9a07ed commit a908c66
Showing 1 changed file with 31 additions and 15 deletions.
46 changes: 31 additions & 15 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
ports:
- "1337:1337"
networks:
- cc
- bloxico_local
depends_on:
- psql
- cache
Expand All @@ -22,17 +22,24 @@ services:
container_name: worker
restart: unless-stopped
networks:
- cc
- bloxico_local

ipfs:
build:
context: ./ipfs-service
dockerfile: Dockerfile
container_name: ipfs-service
ports:
- "3001:3001"
- "4001:4001"
- "4002:4002"
- "4003:4003"
- "5001:5001"
- "8080:8080"
volumes:
- ipfs_data:/app/
networks:
- cc
- bloxico_local
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
Expand All @@ -44,8 +51,8 @@ services:
container_name: postgres
environment:
POSTGRES_DB: cc-portal
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: BEdev24
POSTGRES_PASSWORD: bedev.bloxico24
volumes:
- "psql-data:/var/lib/postgresql/data/"
ports:
Expand All @@ -58,22 +65,22 @@ services:
while ! pg_isready -q -h postgres -p 5432; do
sleep 1;
done;
PGUSER=postgres PGPASSWORD=postgres psql -U postgres -d cc-portal -c "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";";
PGUSER=BEdev24 PGPASSWORD=bedev.bloxico24 psql -U BEdev24 -d cc-portal -c "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";";
wait $pid
'
networks:
- cc
- bloxico_local

cache:
image: redis/redis-stack:latest
container_name: cache
restart: always
ports:
- '6379:6379'
- "6379:6379"
volumes:
- cache:/data
networks:
- cc
- bloxico_local

s3:
image: minio/minio
Expand All @@ -82,28 +89,37 @@ services:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
MINIO_ROOT_USER: bloxico
MINIO_ROOT_PASSWORD: bloxico2
command: ["server", "/data", "--console-address", ":9001"]
volumes:
- s3_data:/data
networks:
- cc
- bloxico_local

frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: frontend
networks:
- bloxico_local

proxy:
build:
context: ./proxy
dockerfile: Dockerfile
container_name: proxy
ports:
- "3000:3000"
- "80:80"
- "443:443"
networks:
- cc
- bloxico_local

volumes:
cache:
s3_data:
ipfs_data:
psql-data:
networks:
cc:
bloxico_local:

0 comments on commit a908c66

Please sign in to comment.