mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2026-01-09 11:19:36 +01:00
Dockerfile now correctly builds for using locking and compose file uses environment variables instead of mapping the config file into the container
15 lines
309 B
YAML
15 lines
309 B
YAML
services:
|
|
48hr:
|
|
## Map environment variables from file (e.g. for imap password)
|
|
env_file: ./.env
|
|
image: localhost/48hr
|
|
restart: always
|
|
build: .
|
|
ports:
|
|
- 3000:3000
|
|
## Create volume for inbox locking
|
|
#volumes:
|
|
# - 48hr-vol:/home/node/app/db/
|
|
|
|
#volumes:
|
|
# 48hr-vol:
|