Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Directly expose web container, add cron container

Cyril Rohr28771bdb2525
diff --git a/docker-compose.yml b/docker-compose.yml
index 8c34a08a870..0a5e316f0ea 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -20,6 +20,8 @@ x-op-app: &app
- "RAILS_CACHE_STORE=memcache"
- "OPENPROJECT_CACHE__MEMCACHE__SERVER=cache:11211"
- "DATABASE_URL=postgres://postgres:p4ssw0rd@db/openproject"
+ # set to true to enable the email receiving feature. See ./docker/cron for more options
+ - "IMAP_ENABLED=false"
volumes:
- "opdata:/var/openproject/assets"
depends_on:
@@ -39,19 +41,6 @@ services:
networks:
- backend
- proxy:
- <<: *image
- <<: *restart_policy
- command: "./docker/proxy"
- ports:
- - "8080:80"
- environment:
- - APP_HOST=web
- depends_on:
- - web
- networks:
- - frontend
-
cache:
image: memcached
<<: *restart_policy
@@ -61,6 +50,8 @@ services:
web:
<<: *app
command: "./docker/web"
+ ports:
+ - "8080:8080"
networks:
- frontend
- backend
@@ -71,6 +62,12 @@ services:
networks:
- backend
+ cron:
+ <<: *app
+ command: "./docker/cron"
+ networks:
+ - backend
+
seeder:
<<: *app
command: "./docker/seeder"