mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[PR #1001] [MERGED] Docker refresh #1203
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#1203
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cypht-org/cypht/pull/1001
Author: @jonocodes
Created: 5/3/2024
Status: ✅ Merged
Merged: 5/25/2024
Merged by: @marclaporte
Base:
master← Head:docker-refresh📝 Commits (10+)
5f2eac3Docker files in local directory8719555Add some TODO notes3330548Working on db setup script6efb14dUser creating with sqlite workingb6a2a84Better error handling when creating user62c3a86Healthcheck. Makefile. setup_system script572290aentrypoint cleanup58fb25cadding push and test to makefile4bbf969Move run time data into local data dir.562cc53fpm logging is now working📊 Changes
16 files changed (+463 additions, -11 deletions)
View changed files
➕
.dockerignore(+2 -0)📝
.gitignore(+3 -1)➕
Makefile(+35 -0)📝
composer.lock(+0 -1)➕
docker-compose.dev.yaml(+44 -0)➕
docker/DOCKERHUB-README.md(+48 -0)➕
docker/Dockerfile(+62 -0)➕
docker/docker-compose.yaml(+32 -0)➕
docker/docker-entrypoint.sh(+37 -0)➕
docker/nginx.conf(+40 -0)➕
docker/supervisord.conf(+22 -0)📝
lib/auth.php(+1 -0)📝
lib/framework.php(+2 -0)📝
scripts/create_account.php(+4 -9)➕
scripts/setup_database.php(+96 -0)➕
scripts/setup_system.sh(+35 -0)📄 Description
Goal
The primary goal is to simplify the docker setup and make it as similar as possible to the local development setup. Some of the changes include:
Running the official image
This uses the image from dockerhub.
See setup instructions here: https://hub.docker.com/r/jonocodes/cypht
or use the local docker compose file:
Then visit http://localhost
Running docker for development
This uses the the current checked out code in a docker container for development. You can edit source files while it running:
Then visit http://localhost
Status
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.