horizon + redis

This commit is contained in:
Andras Bacsai
2023-05-10 09:26:25 +02:00
parent 3b43b7aa65
commit 48e2ce2ca4
23 changed files with 1225 additions and 84 deletions

View File

@@ -1,6 +1,7 @@
version: '3.8'
x-testing-host: &testing-host-base
x-testing-host:
&testing-host-base
image: coolify-testing-host
build:
dockerfile: Dockerfile
@@ -8,7 +9,6 @@ x-testing-host: &testing-host-base
networks:
- coolify
services:
coolify:
build:
@@ -38,6 +38,13 @@ services:
POSTGRES_HOST_AUTH_METHOD: "trust"
volumes:
- ./_volumes/database/:/var/lib/postgresql/data
redis:
ports:
- "${FORWARD_REDIS_PORT:-6379}:6379"
env_file:
- .env
volumes:
- ./_volumes/redis/:/data
vite:
image: node:19
working_dir: /var/www/html
@@ -47,16 +54,13 @@ services:
- .:/var/www/html:cached
command: sh -c "npm install && npm run dev"
testing-host:
<<: *testing-host-base
container_name: coolify-testing-host
volumes:
- /var/run/docker.sock:/var/run/docker.sock
<<: *testing-host-base
container_name: coolify-testing-host
volumes:
- /var/run/docker.sock:/var/run/docker.sock
testing-host-2:
<<: *testing-host-base
container_name: coolify-testing-host-2
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- "./_testing_hosts/host_2_proxy:/root/projects/proxy"
<<: *testing-host-base
container_name: coolify-testing-host-2
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- "./_testing_hosts/host_2_proxy:/root/projects/proxy"