mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(Docker): build aurweb:latest via docker-compose build
Users can now build the required image by running (in the aurweb root): $ docker-compose build Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
fbd91f346a
commit
ad9997c48f
1 changed files with 16 additions and 0 deletions
|
@ -22,6 +22,7 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ca:
|
ca:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
entrypoint: /docker/ca-entrypoint.sh
|
entrypoint: /docker/ca-entrypoint.sh
|
||||||
|
@ -30,6 +31,7 @@ services:
|
||||||
- ./cache:/cache
|
- ./cache:/cache
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
command: /docker/scripts/run-memcached.sh
|
command: /docker/scripts/run-memcached.sh
|
||||||
|
@ -37,6 +39,7 @@ services:
|
||||||
test: "bash /docker/health/memcached.sh"
|
test: "bash /docker/health/memcached.sh"
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
entrypoint: /docker/redis-entrypoint.sh
|
entrypoint: /docker/redis-entrypoint.sh
|
||||||
|
@ -47,6 +50,7 @@ services:
|
||||||
- "16379:6379"
|
- "16379:6379"
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
entrypoint: /docker/mariadb-entrypoint.sh
|
entrypoint: /docker/mariadb-entrypoint.sh
|
||||||
|
@ -62,6 +66,7 @@ services:
|
||||||
test: "bash /docker/health/mariadb.sh"
|
test: "bash /docker/health/mariadb.sh"
|
||||||
|
|
||||||
mariadb_init:
|
mariadb_init:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -73,6 +78,7 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
git:
|
git:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -92,6 +98,7 @@ services:
|
||||||
- ./cache:/cache
|
- ./cache:/cache
|
||||||
|
|
||||||
smartgit:
|
smartgit:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -109,6 +116,7 @@ services:
|
||||||
- smartgit_run:/var/run/smartgit
|
- smartgit_run:/var/run/smartgit
|
||||||
|
|
||||||
cgit-php:
|
cgit-php:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -124,6 +132,7 @@ services:
|
||||||
- git_data:/aurweb/aur.git
|
- git_data:/aurweb/aur.git
|
||||||
|
|
||||||
cgit-fastapi:
|
cgit-fastapi:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -139,6 +148,7 @@ services:
|
||||||
- git_data:/aurweb/aur.git
|
- git_data:/aurweb/aur.git
|
||||||
|
|
||||||
php-fpm:
|
php-fpm:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -168,6 +178,7 @@ services:
|
||||||
- "19000:9000"
|
- "19000:9000"
|
||||||
|
|
||||||
fastapi:
|
fastapi:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -197,6 +208,7 @@ services:
|
||||||
- "18000:8000"
|
- "18000:8000"
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -229,6 +241,7 @@ services:
|
||||||
- smartgit_run:/var/run/smartgit
|
- smartgit_run:/var/run/smartgit
|
||||||
|
|
||||||
sharness:
|
sharness:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -252,6 +265,7 @@ services:
|
||||||
- ./templates:/aurweb/templates
|
- ./templates:/aurweb/templates
|
||||||
|
|
||||||
pytest-mysql:
|
pytest-mysql:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -276,6 +290,7 @@ services:
|
||||||
- ./templates:/aurweb/templates
|
- ./templates:/aurweb/templates
|
||||||
|
|
||||||
pytest-sqlite:
|
pytest-sqlite:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -296,6 +311,7 @@ services:
|
||||||
- ./templates:/aurweb/templates
|
- ./templates:/aurweb/templates
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
build: .
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Add table
Reference in a new issue