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

26 lines
596 B
YAML
Raw Normal View History

2024-04-23 02:34:59 +00:00
version: '3.7'
services:
frontend:
image: fascinated/paste-frontend:latest
restart: always
2024-04-23 18:03:45 +00:00
environment:
NEXT_PUBLIC_API_ENDPOINT: http://localhost:3005
2024-04-23 02:34:59 +00:00
ports:
2024-04-23 18:03:45 +00:00
- "3000:3000"
2024-04-23 02:34:59 +00:00
backend:
image: fascinated/paste-backend:latest
restart: always
2024-04-23 18:03:45 +00:00
volumes:
- ./application.yml:/home/container/application.yml
2024-04-23 02:34:59 +00:00
ports:
2024-04-23 18:03:45 +00:00
- "3005:3000"
2024-04-23 03:49:18 +00:00
mongo:
image: mongo:latest
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
ports:
2024-04-23 18:03:45 +00:00
- "27017:27017"
2024-04-23 03:49:18 +00:00
volumes:
- ./data:/data/db