Go to file
Kiara Grouwstra bb39fa1c09 fix make:downloads 2024-01-03 16:31:20 +01:00
deploy/staging update volumes 2023-08-13 08:47:50 +00:00
nginx upgrade all extensions 2023-10-29 10:44:15 +01:00
scripts always download all 2023-10-29 13:46:15 +01:00
.env align database 2023-04-29 12:23:06 +02:00
.gitignore wip: improving docker/downloader 2023-10-29 10:44:07 +01:00
.woodpecker.yml update pipeline 2023-10-29 11:23:02 +01:00
Dockerfile testing upgrade 2023-10-29 10:44:15 +01:00
Makefile fix make:downloads 2024-01-03 16:31:20 +01:00
README.md readme: distinguish local/deploy 2023-07-21 14:29:57 +00:00
custom.ini tweaking config 2023-08-13 14:27:13 +02:00
docker-compose.yml finish rebuild/cleanup 2023-10-29 10:44:15 +01:00
image.sh push 2023-04-29 13:37:22 +02:00

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