This repository has been archived on 2024-06-10. You can view files and clone it, but cannot push or open issues or pull requests.
Docker/docker-compose.yml
2024-04-23 19:12:08 +01:00

26 lines
594 B
YAML

version: '3.9'
services:
frontend:
image: fascinated/paste-frontend:latest
restart: always
environment:
NEXT_PUBLIC_API_ENDPOINT: http://localhost:3005
ports:
- "3000:80"
backend:
image: fascinated/paste-backend:latest
restart: always
volumes:
- ./application.yml:/home/container/application.yml
ports:
- "3005:3000"
mongo:
image: mongo:latest
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
ports:
- "27017:27017"
volumes:
- ./data:/data/db