ubuntu@maasnode7:~$ ps fauxw
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S 04:16 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 04:16 0:00 \_ [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 04:16 0:00 \_ [kworker/0:0H]
root 7 0.0 0.0 0 0 ? S 04:16 0:00 \_ [rcu_sched]
root 8 0.0 0.0 0 0 ? S 04:16 0:00 \_ [rcu_bh]
root 9 0.0 0.0 0 0 ? S 04:16 0:00 \_ [migration/0]
root 10 0.0 0.0 0 0 ? S 04:16 0:00 \_ [watchdog/0]
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 node:8.1.2-onbuild as builder | |
ARG TARGET=production | |
RUN npm install @angular/cli | |
RUN node_modules/.bin/ng build -aot --target ${TARGET} | |
FROM nginx:1.13-alpine | |
COPY nginx.conf /etc/nginx/conf.d/ | |
COPY --from=builder /usr/src/app/dist /usr/src/app |
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: | |
test: | |
env_file: ./myenv | |
image: alpine | |
command: env |
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 ruby:2.3-onbuild | |
VOLUME /opt/postal/config | |
ENV LOG_TO_STDOUT 1 | |
ENV AM_CONFIG_ROOT /opt/postal/config | |
RUN gem install procodile | |
RUN apt-get update -qq && apt-get install -yqq nodejs |
- Run
docker-compose up
to bring up the two containers (Confluence and MySQL). - Navigate to http://192.168.99.100:8090/ (replace the IP with the correct IP of your Docker Machine).
- Choose "Production Installation" and click the Next button.
- Click the Next button on the Add-ons screen.
- Add your license key and click Next.
- Choose "MySQL" and then click the External Database button.
- Click the Direct JDBC button.
- Change
localhost
tomysql
in the Database URL, set User name toconfluence
, Password tomyconfluencepass
, and click Next.
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
<VirtualHost _default_:443> | |
ServerName yourhost | |
ServerAdmin [email protected] | |
SSLEngine on | |
SSLCertificateFile /etc/ssl/private/yourorg.com.crt | |
SSLCertificateKeyFile /etc/ssl/private/yourorg.com.key | |
SSLCertificateChainFile /etc/ssl/private/chain.pem | |
SSLProxyEngine On |
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
2016-09-07 17:10:25,445 [pool-3-thread-1] INFO com.sumologic.scala.collector.input.docker.DockerLogInput - Log stream for bd823e8c618fa908b395ff20e80d41781f32c6442462f22e5b5b5326315f0a23 is closed | |
2016-09-07 17:10:25,445 [Blade: 0000000006ED5E95 - b32a7b70-4712-4089-ac8d-e3ba7f2deeac] INFO com.sumologic.scala.collector.input.docker.DockerLogInput - Log stream for bd823e8c618fa908b395ff20e80d41781f32c6442462f22e5b5b5326315f0a23 finished running | |
2016-09-07 17:10:25,449 [Blade: 0000000006ED5E95 - b32a7b70-4712-4089-ac8d-e3ba7f2deeac] INFO com.sumologic.scala.collector.blade.docker.DockerLogBlade - Checking if container bd823e8c618fa908b395ff20e80d41781f32c6442462f22e5b5b5326315f0a23 is running via Docker Client com.github.dockerjava.core.DockerClientImpl@22c5c785 on attempt 1 | |
2016-09-07 17:10:25,664 [pool-2-thread-1] ERROR com.sumologic.scala.collector.input.docker.DockerEventInput - error processing payload for 116219541 while consuming docker event message | |
java.lang.NullPointerException | |
at scala.uti |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building configserver 0.0.1-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @ configserver --- | |
[INFO] com.test:configserver:jar:0.0.1-SNAPSHOT | |
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:1.3.7.RELEASE:compile | |
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:1.3.7.RELEASE:compile |
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
--- | |
security: | |
user: | |
password: appdefault | |
--- | |
spring: | |
profiles: test | |
security: | |
user: | |
password: apptest |