Mika
Mika
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
thanks
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
ok
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
how can i link the app with mongodb then
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
i have used the command in composer so
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
ok thanks
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
this is my composer file
version: '3.8'

services:
backend:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
- /app/node_modules
env_file:
- .env
ports:
- "8000:8000"
depends_on:
- mongodb
version: '3.8'

services:
backend:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
- /app/node_modules
env_file:
- .env
ports:
- "8000:8000"
depends_on:
- mongodb

mongodb:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
command: ["mongod", "--quiet"]

volumes:
mongodb_data:

mongodb:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
command: ["mongod", "--quiet"]

volumes:
mongodb_data:
version: '3.8'

services:
backend:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
- /app/node_modules
env_file:
- .env
ports:
- "8000:8000"
depends_on:
- mongodb
version: '3.8'

services:
backend:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
- /app/node_modules
env_file:
- .env
ports:
- "8000:8000"
depends_on:
- mongodb

mongodb:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
command: ["mongod", "--quiet"]

volumes:
mongodb_data:

mongodb:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
command: ["mongod", "--quiet"]

volumes:
mongodb_data:
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
same issue
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
FROM node:18 AS base


WORKDIR /app

COPY package*.json ./

RUN npm install

FROM node:18-slim

WORKDIR /app

COPY --from=base /app .

EXPOSE 8000
FROM node:18 AS base


WORKDIR /app

COPY package*.json ./

RUN npm install

FROM node:18-slim

WORKDIR /app

COPY --from=base /app .

EXPOSE 8000
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
@Brody , can you see it now?
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
Project ID: d9c81ecc-be61-45f1-a43c-355a7e7d9042
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
sorry my bad
23 replies
RRailway
Created by Mika on 11/11/2024 in #✋|help
Container event container died
4efcabcd-bcbb-448f-add5-e351605c91d6
23 replies