Skip to content

Commit

Permalink
doc format
Browse files Browse the repository at this point in the history
  • Loading branch information
ankicabarisic committed Aug 21, 2024
1 parent 7a8d076 commit d1ae8b9
Showing 1 changed file with 31 additions and 9 deletions.
40 changes: 31 additions & 9 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
services:
database:
image: mariadb #optionaly set specific version e.g. mariadb:10.7
image: mariadb:latest #optionaly set specific version e.g. mariadb:10.7
#image: mariadb:10.7
ports:
- "3307:3306"
networks:
- db-tier
environment:
MYSQL_ROOT_PASSWORD: PASSWORD
# MYSQL_ROOT_PASSWORD: PASSWORD
MYSQL_ROOT_PASSWORD: activeeon
MYSQL_DATABASE: proactive
container_name: myComposeMariaDB
healthcheck:
test: [ "CMD", "mariadb-admin" , "ping", "-h", "localhost", "--password=PASSWORD" ]
test: [ "CMD", "mariadb-admin" , "ping", "-h", "localhost", "--password=activeeon" ]
interval: 5s
timeout: 5s
retries: 5
sal:
#Set up image to be used for SAL from https://hub.docker.com/r/activeeon/sal/tags
image: activeeon/sal:test
#image: activeeon/sal:release1
#image: activeeon/sal:test
#image: activeeon/sal:dev
image: activeeon/sal:dev-2024-08-12
build:
context: ..
#Set up Dockerfile to be used:
#Dockerfile is used for Jenkins image creation
#Dockerfile.win to be used for local build on Windows
dockerfile: ./docker/Dockerfile
dockerfile: ./docker/Dockerfile.win
depends_on:
database:
condition: service_healthy
Expand All @@ -40,11 +45,28 @@ services:
environment:
PROPERTIES_FILENAME: sal
#Set up connection to ProActive server (PWS)
PWS_URL: <CHANGE_ME>
PWS_USERNAME: <CHANGE_ME>
PWS_PASSWORD: <CHANGE_ME>
#PWS_URL: <CHANGE_ME>
#PWS_USERNAME: <CHANGE_ME>
#PWS_PASSWORD: <CHANGE_ME>

#---- trydev ------
#PWS_URL: https://trydev2.activeeon.com:8443/
#PWS_USERNAME: barisic
#PWS_PASSWORD: ProActive123

#---- NREC ------
PWS_URL: http://158.39.77.68:8880/
PWS_USERNAME: cd
PWS_PASSWORD: 5rf0A@sj01=

#----LOCAL------
#PWS_URL: http://192.168.56.1:8080/
#PWS_USERNAME: admin
#PWS_PASSWORD: admin

DB_USERNAME: root
DB_PASSWORD: PASSWORD
#DB_PASSWORD: PASSWORD
DB_PASSWORD: activeeon
DB_DRIVER_CLASSNAME: org.mariadb.jdbc.Driver
DB_PORT: 3306
DB_HOSTNAME: myComposeMariaDB
Expand Down

0 comments on commit d1ae8b9

Please sign in to comment.