This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
imageify/docker-compose.yml
2022-11-17 06:47:14 +00:00

31 lines
558 B
YAML

version: "3.4"
services:
imageify:
image: imageify
restart: always
build:
context: .
dockerfile: ./Dockerfile
environment:
NODE_ENV: production
env_file:
- .env
ports:
- 7769:3000
user: root
volumes:
- ./.storage:/app/.storage
mongo:
image: mongo:latest
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: imageify
MONGO_INITDB_ROOT_PASSWORD: reallysecuremongopassword
ports:
- 27017:27017
user: root
volumes:
- ./mongodb:/data/db