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:
|
||||
ca:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
entrypoint: /docker/ca-entrypoint.sh
|
||||
|
@ -30,6 +31,7 @@ services:
|
|||
- ./cache:/cache
|
||||
|
||||
memcached:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
command: /docker/scripts/run-memcached.sh
|
||||
|
@ -37,6 +39,7 @@ services:
|
|||
test: "bash /docker/health/memcached.sh"
|
||||
|
||||
redis:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
entrypoint: /docker/redis-entrypoint.sh
|
||||
|
@ -47,6 +50,7 @@ services:
|
|||
- "16379:6379"
|
||||
|
||||
mariadb:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
entrypoint: /docker/mariadb-entrypoint.sh
|
||||
|
@ -62,6 +66,7 @@ services:
|
|||
test: "bash /docker/health/mariadb.sh"
|
||||
|
||||
mariadb_init:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -73,6 +78,7 @@ services:
|
|||
condition: service_healthy
|
||||
|
||||
git:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -92,6 +98,7 @@ services:
|
|||
- ./cache:/cache
|
||||
|
||||
smartgit:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -109,6 +116,7 @@ services:
|
|||
- smartgit_run:/var/run/smartgit
|
||||
|
||||
cgit-php:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -124,6 +132,7 @@ services:
|
|||
- git_data:/aurweb/aur.git
|
||||
|
||||
cgit-fastapi:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -139,6 +148,7 @@ services:
|
|||
- git_data:/aurweb/aur.git
|
||||
|
||||
php-fpm:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -168,6 +178,7 @@ services:
|
|||
- "19000:9000"
|
||||
|
||||
fastapi:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -197,6 +208,7 @@ services:
|
|||
- "18000:8000"
|
||||
|
||||
nginx:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -229,6 +241,7 @@ services:
|
|||
- smartgit_run:/var/run/smartgit
|
||||
|
||||
sharness:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -252,6 +265,7 @@ services:
|
|||
- ./templates:/aurweb/templates
|
||||
|
||||
pytest-mysql:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -276,6 +290,7 @@ services:
|
|||
- ./templates:/aurweb/templates
|
||||
|
||||
pytest-sqlite:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
@ -296,6 +311,7 @@ services:
|
|||
- ./templates:/aurweb/templates
|
||||
|
||||
test:
|
||||
build: .
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
|
|
Loading…
Add table
Reference in a new issue