Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 60f46230
authored
Jun 05, 2022
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker juttuja
1 parent
cc960780
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletions
docker/db/Dockerfile
docker/docker-compose.yml
docker/db/Dockerfile
0 → 100644
View file @
60f4623
FROM
payara/server-full:4.181
USER root
RUN
apt-get update
&&
\
apt-get install -y --no-install-recommends patch
&&
\
rm -rf /var/lib/apt/lists/
*
USER payara
COPY moya.patch /tmp/
RUN
cd
${
PAYARA_PATH
}
&&
patch -p1 < /tmp/moya.patch
COPY --chown=payara:payara mkconf.sh ${PAYARA_PATH}/bin/
RUN
chmod 755
${
PAYARA_PATH
}
/bin/mkconf.sh
COPY --chown=payara:payara \
MoyaAuthModulev4.jar \
${PAYARA_PATH}/glassfish/domains/${PAYARA_DOMAIN}/lib/
COPY --chown=payara:payara \
postgresql-42.3.1.jar \
${PAYARA_PATH}/glassfish/domains/${PAYARA_DOMAIN}/lib/ext/
docker/docker-compose.yml
View file @
60f4623
...
@@ -7,6 +7,8 @@ services:
...
@@ -7,6 +7,8 @@ services:
-
POSTGRES_PASSWORD
-
POSTGRES_PASSWORD
-
POSTGRES_USER
-
POSTGRES_USER
-
POSTGRES_DB
-
POSTGRES_DB
# entrypoint: "docker-entrypoint.sh"
command
:
postgres -c max_prepared_transactions=10
ports
:
ports
:
-
"
127.0.0.1:6432:5432"
-
"
127.0.0.1:6432:5432"
payara
:
payara
:
...
@@ -18,5 +20,17 @@ services:
...
@@ -18,5 +20,17 @@ services:
ports
:
ports
:
-
"
127.0.0.1:8080:8080"
-
"
127.0.0.1:8080:8080"
-
"
127.0.0.1:4848:4848"
-
"
127.0.0.1:4848:4848"
# volumes:
maven
:
image
:
maven:3.8.5-jdk-8
entrypoint
:
"
/bin/bash"
tty
:
true
working_dir
:
/usr/src/moya/moya-parent
volumes
:
-
../:/usr/src/moya
-
~/.m2:/root/.m2
# volumes:
# - ../code/fnl-backend/fnl-webparent/fnl-ear/target:/opt/payara41/deployments:ro
# - ../code/fnl-backend/fnl-webparent/fnl-ear/target:/opt/payara41/deployments:ro
#tail -F anything
# "$(pwd)":/usr/src/moya -w /usr/src/moya/moya-parent
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment