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
    
  
  
    
  | # On the Mac | |
| mkdir -p ~/.docker/ | |
| scp ubuntu@DOCKER_SERVER:/etc/docker/certs/{ca,key,cert}.pem ~/.docker/ | 
  
    
      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
    
  
  
    
  | [Service] | |
| ExecStart= | |
| ExecStart=/usr/bin/dockerd -H=fd:// -H=unix:///var/run/docker.sock --tlsverify --tlscacert=/etc/docker/certs/ca.pem --tlscert=/etc/docker/certs/server-cert.pem --tlskey=/etc/docker/certs/server-key.pem -H=0.0.0.0:2376 | 
  
    
      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
    
  
  
    
  | # Run as root | |
| sudo -i | |
| # Resolve hostname and IP addresses for server certificate. | |
| MY_HOSTNAME=`hostname` && \ | |
| MY_PRIVATE_IP=`hostname -i` && \ | |
| MY_PUBLIC_IP=`curl -s ifconfig.me/ip` | |
| # Create CA key and certificate | |
| mkdir -p /etc/docker/certs && cd /etc/docker/certs && \ | 
  
    
      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
    
  
  
    
  | sudo apt update && \ | |
| DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" sudo apt install -y tzdata && \ | |
| sudo apt install -y apt-transport-https ca-certificates curl software-properties-common && \ | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && \ | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" && \ | |
| sudo apt update && \ | |
| sudo apt install -y docker-ce && \ | |
| docker --version | 
  
    
      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" standalone="yes"?> | |
| <arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns="http://jboss.org/schema/arquillian" | |
| xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd"> | |
| <engine> | |
| <property name="deploymentExportPath">target/</property> | |
| </engine> | |
| <container qualifier="websphere" default="true"> | 
  
    
      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> | |
| <groupId>de.datev</groupId> | |
| <artifactId>scheduling1</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <packaging>war</packaging> | 
  
    
      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> | |
| <groupId>de.jochenchrist</groupId> | |
| <artifactId>artifactname</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <packaging>war</packaging> | 
  
    
      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"?> | |
| <server description="new server"> | |
| <!-- Enable features --> | |
| <featureManager> | |
| <feature>javaee-7.0</feature> | |
| <feature>localConnector-1.0</feature> | |
| </featureManager> | |
| <!-- This template enables security. To get the full use of all the capabilities, a keystore and user registry are required. --> | |
| <!-- For the keystore, default keys are generated and stored in a keystore. To provide the keystore password, generate an | |
| encoded password using bin/securityUtility encode and add it below in the password attribute of the keyStore element. | 
  
    
      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 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> | |
| <groupId>de.thi.cocktails</groupId> | |
| <artifactId>cocktails</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <packaging>war</packaging> | |
| <dependencies> | |
| <dependency> | |
| <groupId>javax</groupId> | 
  
    
      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"?> | |
| <faces-config version="2.2" | |
| xmlns="http://xmlns.jcp.org/xml/ns/javaee" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd"> | |
| </faces-config> |