This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| redis: | |
| image: redis:5.0.7-alpine | |
| command: ["redis-server", "--appendonly", "yes"] | |
| hostname: redis | |
| networks: | |
| - redis-net | |
| volumes: | |
| - redis-data:/data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-parent</artifactId> | |
| <version>2.1.4.RELEASE</version> | |
| <relativePath /> <!-- lookup parent from repository --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.1' | |
| services: | |
| db_postgres: | |
| image: postgres | |
| restart: always | |
| volumes: | |
| - pgdata:/var/lib/postgresql/data | |
| environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.1' | |
| services: | |
| db_mysql: | |
| image: mysql | |
| restart: always | |
| command: --default-authentication-plugin=mysql_native_password | |
| volumes: | |
| - mysqldata:/var/lib/mysql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ###################### | |
| # Project Specific | |
| ###################### | |
| /build/www/** | |
| /src/test/javascript/coverage/ | |
| /src/test/javascript/PhantomJS*/ | |
| ###################### | |
| # Node | |
| ###################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.Iterator; | |
| import java.util.NavigableSet; | |
| import java.util.Random; | |
| import java.util.Set; | |
| import java.util.TreeMap; | |
| public class MegaSena { | |
| public void getNumeros(int repeticoes) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ::::::::::::::::::::::::::::::::::::: | |
| :: Configuração do modulo do MySQL :: | |
| ::::::::::::::::::::::::::::::::::::: | |
| Crie pasta: | |
| jboss-as-7.1.1.Final/modules/com/mysql/main | |
| Para esta pasta copie os arquivos modules.xml e o JAR do driver do MySQL (dentro da pasta | |
| resources/module-mysql). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM jboss/wildfly:11.0.0.Final | |
| ADD api.war /opt/jboss/wildfly/standalone/deployments/ | |
| ADD postgres /opt/jboss/wildfly/modules/system/layers/base/org/postgres | |
| ADD standalone.xml /opt/jboss/wildfly/standalone/configuration/ | |
| ENV PORT=8080 TZ="America/Recife" LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8" | |
| EXPOSE $PORT | |
| CMD /opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 --server-config=standalone.xml -Djboss.http.port=$PORT |