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

31 lines
558 B
YAML
Raw Permalink Normal View History

2022-11-14 02:30:07 +00:00
version: "3.4"
services:
imageify:
image: imageify
restart: always
build:
context: .
dockerfile: ./Dockerfile
environment:
NODE_ENV: production
env_file:
- .env
ports:
2022-11-17 06:47:14 +00:00
- 7769:3000
user: root
2022-11-14 02:30:07 +00:00
volumes:
2022-11-17 06:23:28 +00:00
- ./.storage:/app/.storage
2022-11-14 02:30:07 +00:00
mongo:
image: mongo:latest
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: imageify
MONGO_INITDB_ROOT_PASSWORD: reallysecuremongopassword
2022-11-17 06:47:14 +00:00
ports:
- 27017:27017
user: root
2022-11-14 02:30:07 +00:00
volumes:
2022-11-17 06:47:14 +00:00
- ./mongodb:/data/db