forked from coollabsio/coolify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
514976e
commit 928ca44
Showing
17 changed files
with
162 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ yarn-error.log | |
/.vscode | ||
/.npm | ||
/.bash_history | ||
/_volumes/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
version: '3.8' | ||
|
||
x-testing-host: &testing-host-base | ||
image: coolify-testing-host | ||
build: | ||
dockerfile: Dockerfile | ||
context: ./docker/testing-host | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- ./docker/testing-host/supervisord.conf:/etc/supervisor/conf.d/supervisord.conf | ||
networks: | ||
- coolify | ||
|
||
|
||
services: | ||
coolify: | ||
build: | ||
context: . | ||
dockerfile: ./docker/dev-ssu/Dockerfile | ||
ports: | ||
- "${APP_PORT:-8000}:80" | ||
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}" | ||
environment: | ||
PUID: "${USERID:-1000}" | ||
PGID: "${GROUPID:-1000}" | ||
SSL_MODE: "off" | ||
AUTORUN_LARAVEL_STORAGE_LINK: "false" | ||
AUTORUN_LARAVEL_MIGRATION: "false" | ||
env_file: | ||
- .env | ||
volumes: | ||
- .:/var/www/html/:cached | ||
postgres: | ||
ports: | ||
- "${FORWARD_DB_PORT:-5432}:5432" | ||
env_file: | ||
- .env | ||
environment: | ||
POSTGRES_USER: "${DB_USERNAME}" | ||
POSTGRES_PASSWORD: "${DB_PASSWORD}" | ||
POSTGRES_DB: "${DB_DATABASE}" | ||
POSTGRES_HOST_AUTH_METHOD: "trust" | ||
volumes: | ||
- ./_volumes/database/:/var/lib/postgresql/data | ||
vite: | ||
image: node:19 | ||
working_dir: /var/www/html | ||
volumes: | ||
- .:/var/www/html:cached | ||
command: sh -c "npm install && npm run dev" | ||
testing-host: | ||
<<: *testing-host-base | ||
container_name: coolify-testing-host | ||
testing-host2: | ||
<<: *testing-host-base | ||
container_name: coolify-testing-host-2 | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: '3.8' | ||
services: | ||
coolify: | ||
build: | ||
context: . | ||
dockerfile: ./docker/prod-ssu/Dockerfile | ||
environment: | ||
AUTORUN_LARAVEL_STORAGE_LINK: "true" | ||
AUTORUN_LARAVEL_MIGRATION: "true" | ||
env_file: | ||
- .env | ||
postgres: | ||
environment: | ||
POSTGRES_USER: "${DB_USERNAME}" | ||
POSTGRES_PASSWORD: "${DB_PASSWORD}" | ||
POSTGRES_DB: "${DB_DATABASE}" | ||
env_file: | ||
- .env |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: '3.8' | ||
services: | ||
coolify: | ||
working_dir: /var/www/html | ||
networks: | ||
- coolify | ||
depends_on: | ||
- postgres | ||
postgres: | ||
image: postgres:15-alpine | ||
networks: | ||
- coolify | ||
networks: | ||
coolify: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM serversideup/php:8.2-fpm-nginx | ||
ARG POSTGRES_VERSION=15 | ||
RUN apt-get update && apt-get install -y php-pgsql openssh-client | ||
RUN apt-get -y autoremove \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* | ||
|
||
COPY --chmod=755 docker/dev-ssu/etc/s6-overlay/ /etc/s6-overlay/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/command/execlineb -P | ||
su - webuser -c "php /var/www/html/artisan queue:listen --timeout=600 --rest=1 --memory=512" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
longrun |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM serversideup/php:8.2-fpm-nginx | ||
ARG POSTGRES_VERSION=15 | ||
RUN apt-get update && apt-get install -y php-pgsql openssh-client | ||
RUN apt-get -y autoremove \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* | ||
|
||
COPY --chmod=755 docker/dev-ssu/etc/s6-overlay/ /etc/s6-overlay/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/command/execlineb -P | ||
su - webuser -c "php /var/www/html/artisan queue:listen" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
longrun |
Empty file.