mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fixes
This commit is contained in:
parent
a333cd0fee
commit
85f36fce0d
2 changed files with 6 additions and 1 deletions
|
@ -54,4 +54,4 @@ deploy:
|
|||
- socat "UNIX-LISTEN:/tmp/docker.sock,reuseaddr,fork" EXEC:"ssh -o UserKnownHostsFile=${SSH_KNOWN_HOSTS} -Ti ${SSH_KEY} ${SSH_USER}@${SSH_HOST}" &
|
||||
- export DOCKER_HOST="unix:///tmp/docker.sock"
|
||||
- docker-compose build
|
||||
- docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
||||
- docker-compose -f docker-compose.yml -f docker-compose.aur-dev.yml up -d
|
||||
|
|
|
@ -6,12 +6,14 @@ services:
|
|||
- cache:/cache
|
||||
|
||||
git:
|
||||
restart: always
|
||||
volumes:
|
||||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||
- cache:/cache
|
||||
- ${MARIADB_SOCKET_DIR}:/var/run/mysqld
|
||||
|
||||
smartgit:
|
||||
restart: always
|
||||
volumes:
|
||||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||
- cache:/cache
|
||||
|
@ -26,11 +28,13 @@ services:
|
|||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||
|
||||
php-fpm:
|
||||
restart: always
|
||||
volumes:
|
||||
- cache:/cache
|
||||
- ${MARIADB_SOCKET_DIR}:/var/run/mysqld
|
||||
|
||||
fastapi:
|
||||
restart: always
|
||||
environment:
|
||||
- FASTAPI_BACKEND="gunicorn"
|
||||
volumes:
|
||||
|
@ -42,6 +46,7 @@ services:
|
|||
- ${MARIADB_SOCKET_DIR}:/var/run/mysqld
|
||||
|
||||
nginx:
|
||||
restart: always
|
||||
volumes:
|
||||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||
- cache:/cache
|
Loading…
Add table
Reference in a new issue