more
This commit is contained in:
parent
a3479804d4
commit
b72ed18a76
4
alpine/Dockerfile
Normal file
4
alpine/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# syntax=docker/dockerfile:1
|
||||||
|
FROM ubuntu:20.04
|
||||||
|
COPY app /app
|
||||||
|
CMD python /app/app.py
|
1
alpine/app/hello.py
Normal file
1
alpine/app/hello.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
print("hello")
|
@ -1,12 +0,0 @@
|
|||||||
version: '3.3'
|
|
||||||
services:
|
|
||||||
prometheus:
|
|
||||||
container_name: prometheus-container
|
|
||||||
environment:
|
|
||||||
- TZ=America/NewYork
|
|
||||||
ports:
|
|
||||||
- '30090:9090'
|
|
||||||
volumes:
|
|
||||||
- '/home/tyrel/dockers/prometheus/prometheus.yml:/prometheus/prometheus.yml'
|
|
||||||
- '/home/tyrel/dockers/prometheus/alerts.yml:/prometheus/alerts.yml'
|
|
||||||
image: 'ubuntu/prometheus:2.28-21.10_beta'
|
|
@ -1,55 +0,0 @@
|
|||||||
##
|
|
||||||
## Docker Containers
|
|
||||||
## This creates containers running mySQL and WordPress
|
|
||||||
## for running Unmark.
|
|
||||||
##
|
|
||||||
## Written by Colin Devroe cdevroe.com
|
|
||||||
##
|
|
||||||
## Version 1.0 Build 001
|
|
||||||
##
|
|
||||||
|
|
||||||
version: '3.3'
|
|
||||||
|
|
||||||
services:
|
|
||||||
apache:
|
|
||||||
container_name: unmark_apache
|
|
||||||
build:
|
|
||||||
context: ./
|
|
||||||
image: php:5.6-apache
|
|
||||||
hostname: apache
|
|
||||||
ports:
|
|
||||||
- "42006:80"
|
|
||||||
volumes:
|
|
||||||
- ./:/var/www/html
|
|
||||||
- ./docker-configs/php-custom.ini:/usr/local/etc/php/conf.d/custom.ini
|
|
||||||
depends_on:
|
|
||||||
- mysql
|
|
||||||
links:
|
|
||||||
- mysql
|
|
||||||
mysql:
|
|
||||||
container_name: unmark_mysql
|
|
||||||
image: mysql:5.7
|
|
||||||
hostname: mysql
|
|
||||||
command: --sql_mode=''
|
|
||||||
ports:
|
|
||||||
- "3306:3306"
|
|
||||||
volumes:
|
|
||||||
- unmark_db_volume:/var/lib/mysql
|
|
||||||
environment:
|
|
||||||
MYSQL_ROOT_PASSWORD: unmarkrootmysqlpass
|
|
||||||
MYSQL_DATABASE: unmark
|
|
||||||
MYSQL_USER: unmarkuser
|
|
||||||
MYSQL_PASSWORD: unmarkpass
|
|
||||||
phpmyadmin:
|
|
||||||
container_name: unmark_phpmyadmin
|
|
||||||
image: phpmyadmin/phpmyadmin
|
|
||||||
links:
|
|
||||||
- mysql:db
|
|
||||||
ports:
|
|
||||||
- "42007:80"
|
|
||||||
environment:
|
|
||||||
- PMA_USER=unmarkuser
|
|
||||||
- PMA_PASSWORD=unmarkpass
|
|
||||||
- PHP_UPLOAD_MAX_FILESIZE=100MB
|
|
||||||
volumes:
|
|
||||||
unmark_db_volume:
|
|
Loading…
Reference in New Issue
Block a user