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
upstream my-app.my-domain.com { | |
server localhost:2369; # change the port to the port of your web app running on localhost | |
} | |
server { | |
listen 80; | |
server_name my-app.my-domain.com; | |
location / { |
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] | |
Type=oneshot | |
RemainAfterExit=yes | |
WorkingDirectory=/home/ubuntu/git/matomo-blackbox | |
ExecStart=/usr/bin/docker-compose up -d | |
ExecStop=/usr/bin/docker-compose down | |
TimeoutStartSec=0 | |
[Install] | |
WantedBy=multi-user.target |
OlderNewer