| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- version: '3.4'
- services:
- app-backend:
- restart: always
- depends_on:
- - postgres
- - mongo
- container_name: vendimia-backend
- build:
- context: ./backend
- dockerfile: ./Dockerfile
- env_file:
- - ./.env.production
- ports:
- - "8000:8000"
- app-frontend:
- container_name: vendimia-frontend
- restart: always
- build:
- context: ./frontend
- dockerfile: ./Dockerfile.production
- args:
- REACT_APP_API_URL: "https://vendimia.omixom.com/api/v1/"
- env_file:
- - ./.env.production
- ports:
- - "3000:80"
- mongo:
- image: mongo
- restart: always
- volumes:
- - ./mongo_data:/data/db
- ports:
- - 9019:27017
- postgres:
- image: postgres
- restart: always
- env_file:
- - postgres.env
- volumes:
- - ./postgres_data:/var/lib/postgresql/data/
- mongoweb:
- image: mongoclient/mongoclient
- depends_on:
- - mongo
- environment:
- - MONGO_URL="mongodb://mongo:27017"
- ports:
- - 9006:3000
- mongoexpress:
- image: mongo-express
- depends_on:
- - mongo
- environment:
- - ME_CONFIG_MONGODB_SERVER:"mongo"
- ports:
- - 9005:8081
-
- admindb:
- image: adminer
- depends_on:
- - postgres
- ports:
- - 9003:8080
|