|
|
Linha 2: |
Linha 2: |
| *[https://www.creditcardvalidator.org/articles/luhn-algorithm The Luhn Algorithm for Credit Card Validation] | | *[https://www.creditcardvalidator.org/articles/luhn-algorithm The Luhn Algorithm for Credit Card Validation] |
| =Dev Environment on docker= | | =Dev Environment on docker= |
| ==TeamCity Server==
| | *[[Jetbrains env|Jetbrains env]] |
| <syntaxhighlight lang=bash>
| |
| #!/bin/bash
| |
| docker volume create teamcity_server_data
| |
| docker volume create teamcity_server_log
| |
| docker run \
| |
| -d \
| |
| --name teamcity-server-instance \
| |
| -e TEAMCITY_SERVER_MEM_OPTS="-Xmx5g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=1g" \
| |
| -v teamcity_server_data:/data/teamcity_server/datadir \
| |
| -v teamcity_server_log:/opt/teamcity/logs \
| |
| -p 8084:8111 \
| |
| jetbrains/teamcity-server
| |
| </syntaxhighlight>
| |
| ==YouTrack==
| |
| <syntaxhighlight lang=bash>
| |
| #!/bin/bash
| |
| docker volume create youtrack_data
| |
| docker volume create youtrack_conf
| |
| docker volume create youtrack_logs
| |
| docker volume create youtrack_backups
| |
|
| |
|
| docker run \
| |
| -d \
| |
| --restart always \
| |
| --name youtrack \
| |
| -v youtrack_data:/opt/youtrack/data \
| |
| -v youtrack_conf:/opt/youtrack/conf \
| |
| -v youtrack_logs:/opt/youtrack/logs \
| |
| -v youtrack_backups:/opt/youtrack/backups \
| |
| -p 8085:8080 \
| |
| jetbrains/youtrack:2021.2.19690
| |
| </syntaxhighlight>
| |
| ==Hub==
| |
| <syntaxhighlight lang=bash>
| |
| #!/bin/bash
| |
| docker volume create hub_server_data
| |
| docker volume create hub_server_conf
| |
| docker volume create hub_server_logs
| |
| docker volume create hub_server_backups
| |
| docker run \
| |
| -d \
| |
| --name hub-server-instance \
| |
| -v hub_server_data:/opt/hub/data \
| |
| -v hub_server_conf:/opt/hub/conf \
| |
| -v hub_server_logs:/opt/hub/logs \
| |
| -v hub_server_backups:/opt/hub/backups \
| |
| -p 8086:8080 \
| |
| jetbrains/hub:2021.1.13389
| |
|
| |
| </syntaxhighlight>
| |
| ==UpSource==
| |
| <syntaxhighlight lang=bash>
| |
| #!/bin/bash
| |
| docker volume create upsource_server_data
| |
| docker volume create upsource_server_conf
| |
| docker volume create upsource_server_logs
| |
| docker volume create upsource_server_backups
| |
| docker run \
| |
| -d \
| |
| --name upsource-server-instance \
| |
| -v upsource_server_data:/opt/upsource/data \
| |
| -v upsource_server_conf:/opt/upsource/conf \
| |
| -v upsource_server_logs:/opt/upsource/logs \
| |
| -v upsource_server_backups:/opt/upsource/backups \
| |
| -p 8087:8080 \
| |
| jetbrains/upsource:2020.1.1883
| |
|
| |
|
| |
|
| |
| </syntaxhighlight>
| |
| =Docs= | | =Docs= |
| *https://svelte.dev/ | | *https://svelte.dev/ |