-
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.
Merge pull request #152 from scout-ch/feature/v2Containerization
Integrated Containerization
- Loading branch information
Showing
8 changed files
with
43 additions
and
22 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# React Dev Port | ||
PORT=3000 | ||
REACT_APP_VERSION=1.0.0 | ||
REACT_APP_NAME=$npm_package_name | ||
|
||
PUBLIC_URL=/ | ||
REACT_APP_BACKEND_URL=https://backend.thilo.ch/ |
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
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 |
---|---|---|
|
@@ -13,6 +13,7 @@ | |
|
||
# misc | ||
.DS_Store | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
|
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 |
---|---|---|
|
@@ -5,15 +5,17 @@ services: | |
image: ghcr.io/scout-ch/thilo/thilo_frontend:latest | ||
restart: always | ||
environment: | ||
- BACKEND_URL=BACKEND_URL | ||
- BACKEND_URL=http://localhost:3031 | ||
ports: | ||
- 3000:3000 | ||
- 3030:3000 | ||
|
||
backend: | ||
image: ghcr.io/scout-ch/thilo-api/thilo_api:latest | ||
restart: always | ||
networks: | ||
- internal | ||
ports: | ||
- 3031:1337 | ||
depends_on: | ||
- database | ||
environment: | ||
|
@@ -27,14 +29,14 @@ services: | |
- DATABASE_NAME=strapi | ||
- DATABASE_USER=postgres | ||
- DATABASE_PASSWORD=admin | ||
ports: | ||
- 1337:3001 | ||
|
||
linkshortner: | ||
image: shlinkio/shlink:3.4.0 | ||
image: shlinkio/shlink:3.6.4 | ||
restart: always | ||
networks: | ||
- internal | ||
ports: | ||
- 8080:8080 | ||
depends_on: | ||
- database | ||
environment: | ||
|
@@ -45,28 +47,26 @@ services: | |
- DB_PASSWORD=admin | ||
- DEFAULT_DOMAIN=thilo.cloud | ||
- IS_HTTPS_ENABLED=true | ||
ports: | ||
- 8080:8080 | ||
|
||
linkshortner-webgui: | ||
image: shlinkio/shlink-web-client:3.9.1 | ||
image: shlinkio/shlink-web-client:3.10.2 | ||
restart: always | ||
networks: | ||
- internal | ||
depends_on: | ||
- linkshortner | ||
ports: | ||
- 8081:80 | ||
depends_on: | ||
- linkshortner | ||
|
||
feedback: | ||
image: getfider/fider:stable | ||
image: getfider/fider:main | ||
restart: always | ||
networks: | ||
- internal | ||
depends_on: | ||
- database | ||
ports: | ||
- "9000:3000" | ||
depends_on: | ||
- database | ||
environment: | ||
BASE_URL: http://localhost:9000 | ||
|
||
|
@@ -89,37 +89,37 @@ services: | |
EMAIL_SMTP_ENABLE_STARTTLS: 'true' | ||
|
||
database: | ||
image: postgres:15.1 | ||
image: postgres:16.0 | ||
restart: always | ||
networks: | ||
- internal | ||
ports: | ||
- 5432:5432 | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASSWORD=admin | ||
- POSTGRES_DB=postgres | ||
- PGDATA=/data/postgres | ||
volumes: | ||
- postgres:/data/postgres | ||
ports: | ||
- 5432:5432 | ||
- ./docker/init.sql:/docker-entrypoint-initdb.d/init.sql | ||
|
||
pgadmin: | ||
image: dpage/pgadmin4 | ||
image: dpage/pgadmin4:7.7 | ||
restart: always | ||
networks: | ||
- internal | ||
ports: | ||
- 5050:80 | ||
environment: | ||
PGADMIN_DEFAULT_EMAIL: [email protected] | ||
PGADMIN_DEFAULT_PASSWORD: password | ||
volumes: | ||
- pgadmin:/var/lib/pgadmin | ||
ports: | ||
- 5050:80 | ||
|
||
networks: | ||
internal: | ||
|
||
|
||
volumes: | ||
postgres: | ||
pgadmin: |
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
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,4 @@ | ||
-- Create databases | ||
CREATE DATABASE "strapi"; | ||
CREATE DATABASE "fider"; | ||
CREATE DATABASE "shlink"; |
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
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