Skip to content

Deploy semarchy with docker-compose, including the Dockerfiles. DB is postgres.

Notifications You must be signed in to change notification settings

galbirk/semarchy-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose CI

semarchy-docker-compose

Deploy Semarchy xDM with docker-compose, including the Dockerfiles.
Compose uses postgresql as Database.
Added pgadmin container for psql web managment.

Table of Contents

Run Example

Install docker and docker-compose

docker installation documentation
docker-compose installation documentation

install docker on linux

# Install docker
sudo curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo systemctl start docker && sudo systemctl enable docker
# Ensure installation succeed
sudo docker --version
# Install docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
# Ensure installation succeed
docker-compose --version

Clone git repository and deploy the compose file

git clone https://github.com/galbirk/semarchy-docker-compose.git
cd semarchy-docker-compose
docker-compose up # run docker-compose up -d for background running.

semarchy url: http://[ip/hostname]
pgadmin url: http://[ip/hostname]:8080
semarchy default credentials:
username: admin
password: Aa123456
pgadmin default credentials:
username: [email protected]
password: admin
credentials can be changed with environment variables in the compose file.

Environment Variables

Semarchy env vars.

  • SEMARCHY_DATABASE_HOST --> DB hostname
  • SEMARCHY_DATABASE_PORT --> DB connection port.
  • SEMARCHY_LOGIN --> semarchy default username.
  • SEMARCHY_PASSWORD --> semarchy default user password.

Default values

SEMARCHY_DATABASE_HOST=db 
SEMARCHY_DATABASE_PORT=5432 
SEMARCHY_LOGIN=admin 
SEMARCHY_PASSWORD=Aa123456

Postgres env vars.

  • POSTGRES_USER --> postgres default user
  • POSTGRES_PASSWORD --> postgres default password
  • POSTGRES_DB --> postgres default db

Pgadmin env vars.

  • PGADMIN_DEFAULT_EMAIL --> pgadmin default mail
  • PGADMIN_DEFAULT_PASSWORD --> pgadmin default password

Docker Hub Images

The images are published in Docker Hub:

Author Information

Gal Birkman, DevOps Engineer.
email: [email protected]
GitHub: https://github.com/galbirk

About

Deploy semarchy with docker-compose, including the Dockerfiles. DB is postgres.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages