Skip to content

Commit

Permalink
chore: add draft of docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
astappiev committed Sep 23, 2023
1 parent 0453e6c commit 5149761
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3/apache-maven-3.9.3-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
32 changes: 32 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
services:
apiserver:
build: .
image: ghcr.io/l3s-learnweb/interweb:latest
restart: always
ports:
- "8080:8080"
env_file:
# - .env
- interweb-server/.env
# depends_on:
# - mariadb
environment:
TZ: "Europe/Berlin"
QUARKUS_HTTP_PORT: 8080

# mariadb:
# image: mariadb:10.11
# restart: always
# ports:
# - "9306:3306"
# volumes:
# # On WSL docker machine, it may crash during migration when mounting NTFS file-system, just restart it multiple times :/
# # https://jira.mariadb.org/browse/MDEV-29260
# - "./data/mysql:/var/lib/mysql"
# environment:
# TZ: "Europe/Berlin"
# MARIADB_AUTO_UPGRADE: "yes"
# MARIADB_RANDOM_ROOT_PASSWORD: "yes"
# MARIADB_DATABASE:
# MARIADB_USER:
# MARIADB_PASSWORD:
1 change: 1 addition & 0 deletions interweb-core/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
quarkus.rest-client.http2=true

%test.quarkus.log.console.level=DEBUG
%test.quarkus.log.console.format=%d{HH:mm:ss} %-5p [%c{2.}] (%t) %s%e%n
%test.quarkus.log.category."org.jboss.resteasy.reactive.client.logging".level=DEBUG
Expand Down

0 comments on commit 5149761

Please sign in to comment.