Skip to content

Commit

Permalink
Merge pull request #2 from Call0ps/main
Browse files Browse the repository at this point in the history
Dockercompose with KeyCloak, Drupal, and MySql. Next step is to build…
  • Loading branch information
SDKAAA authored Jan 25, 2024
2 parents cfb497a + 568244d commit 9b841e7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .env-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
APACHE_RUN_DIR=/var/run/apache2$SUFFIX
APACHE_PID_FILE=/var/run/apache2$SUFFIX/apache2.pid
APACHE_RUN_USER=www-data
APACHE_RUN_GROUP=www-data
APACHE_LOG_DIR=/var/log/apache2$SUFFIX
13 changes: 7 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ services:
- "53531:8080"
environment:
KEYCLOAK_ADMIN: "admin"
KEYCLOAK_ADMIN_PASSWORD: "admin"
KEYCLOAK_ADMINPASSWORD: "admin"
command:
- start-dev

drupal:
container_name: digitharium_drupal
image: drupal
Expand All @@ -20,11 +19,13 @@ services:
DB_HOST: "drupal_mysql"
DB_USER: "user"
DB_PASS: "password"
# env_file:
# - .env-drupal
volumes:
- ./config:/var/config
depends_on:
- drupal_mysql

# DBs

#DBs
drupal_mysql:
container_name: digitharium_drupal_mysql
image: container-registry.oracle.com/mysql/community-server
Expand All @@ -38,4 +39,4 @@ services:
ports:
- "3306:3306"
volumes:
database:
database:

0 comments on commit 9b841e7

Please sign in to comment.