You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]()
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
1 month ago | |
---|---|---|
deploy/staging | 4 months ago | |
nginx | 1 month ago | |
scripts | 1 month ago | |
.env | 7 months ago | |
.gitignore | 1 month ago | |
.woodpecker.yml | 1 month ago | |
Dockerfile | 1 month ago | |
Makefile | 1 month ago | |
README.md | 5 months ago | |
custom.ini | 4 months ago | |
docker-compose.yml | 1 month ago | |
image.sh | 7 months ago |
README.md
BIJ1 CiviCRM
Requirements
local usage
run
make build-dev
make start
sleep 2 # give the containers time to spin up
make reset-db
make install
# http://localhost/wp-admin/admin.php?page=CiviCRM
# civi
# password123
podman
One can use Podman Compose over Docker Compose using:
make COMPOSE="podman-compose"
Logs
logs may be found at:
/var/lib/docker/volumes/civicrm-bij1_civi-data/_data/wp-content/uploads/civicrm/ConfigAndLog/
Database
docker-compose exec db bash -c "mysql -h localhost -u civi -p'password123' civi_crm"
Troubleshooting
Can't connect to MySQL server on 'db'
If you just spinned up the container cluster,
wait a few seconds before running make install
.
remote
publish image
(handled in CI)
deploy
Due to Docker Swarm deployment doesn't work with Podman symlinking.
On the server, after configuring a deploy/staging/env
from deploy/staging/env.sample
, run:
make build
docker swarm init
docker stack deploy -c ./deploy/staging/stack.yml civi
docker stack ps civi
docker stack rm civi