Go to file
Paul J Stevens ab2a1c52ec
ci/woodpecker/push/woodpecker Pipeline failed Details
tweaking config
2023-08-13 14:27:13 +02:00
bin tweaking config 2023-08-13 14:27:13 +02:00
deploy/staging update volumes 2023-08-13 08:47:50 +00:00
nginx loosen nginx timeout 2022-10-18 22:40:01 +02:00
.env align database 2023-04-29 12:23:06 +02:00
.gitignore use sample env file 2023-05-21 07:49:34 +02:00
.woodpecker.yml update woodpecker pipeline 2023-08-13 12:14:09 +02:00
Dockerfile fix build 2023-08-13 10:56:57 +02:00
Makefile make explicit how to run image.sh 2023-05-21 07:51:56 +02: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 Reapply "hardening wordpress" 2023-08-13 10:56:57 +02: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