19 lines
416 B
YAML
19 lines
416 B
YAML
version: '3.9'
|
|
services:
|
|
paste:
|
|
image: fascinated/paste-backend:latest
|
|
restart: always
|
|
volumes:
|
|
- ./application.yml:/home/container/application.yml
|
|
ports:
|
|
- "3000: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 |