mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -62,9 +62,9 @@ GoSDK/tester/
|
||||
|
||||
secret.env
|
||||
|
||||
/.env
|
||||
*/.env
|
||||
|
||||
config.env
|
||||
|
||||
# This file is autofenerated from the template
|
||||
docker-compose.yml
|
||||
docker-compose.yml
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
POSTGRES_USER={{ .Env.DATABASE_USER }}
|
||||
POSTGRES_USER={{ .Env.DATABASE_USERNAME }}
|
||||
POSTGRES_PASSWORD={{ .Env.DATABASE_PASSWORD }}
|
||||
@@ -71,5 +71,4 @@ INTERNAL_SMTP_PASSWORD=oneuptime
|
||||
# Licensing Database
|
||||
AIRTABLE_API_KEY=
|
||||
AIRTABLE_BASE_ID=
|
||||
TOKEN_SECRET={{ .Env.ENCRYPTION_SECRET }}
|
||||
|
||||
TOKEN_SECRET={{ .Env.ENCRYPTION_SECRET }}
|
||||
@@ -1,236 +0,0 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
##IMPORTANT:
|
||||
## This container is an SMTP server used to send emails.
|
||||
## Setup private, tls_cert and tls_key keys before running this part
|
||||
haraka:
|
||||
ports:
|
||||
- '2525:2525'
|
||||
build:
|
||||
network: host
|
||||
context: ./Haraka
|
||||
env_file:
|
||||
- ./Haraka/.env
|
||||
|
||||
redis:
|
||||
image: redis:7.0.3
|
||||
ports:
|
||||
- '6379:6379'
|
||||
command: redis-server /usr/local/etc/redis/redis.conf
|
||||
env_file:
|
||||
- ./Redis/.env
|
||||
volumes:
|
||||
- ./Redis/redis.conf:/usr/local/etc/redis/redis.conf
|
||||
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
restart: always
|
||||
env_file:
|
||||
- ./Postgres/.env
|
||||
ports:
|
||||
- '5400:5432'
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql/data
|
||||
|
||||
mail:
|
||||
ports:
|
||||
|
||||
- 3190:3190
|
||||
|
||||
image: oneuptime/mail:latest
|
||||
|
||||
env_file:
|
||||
- ./Common/.env
|
||||
- ./Common/secret.env
|
||||
- ./CommonServer/.env
|
||||
- ./CommonServer/secret.env
|
||||
- ./Mail/.env
|
||||
depends_on:
|
||||
- haraka
|
||||
- postgres
|
||||
|
||||
|
||||
|
||||
|
||||
accounts:
|
||||
ports:
|
||||
- '3003:3003'
|
||||
|
||||
image: oneuptime/accounts:latest
|
||||
|
||||
env_file:
|
||||
- ./Common/.env
|
||||
- ./Common/secret.env
|
||||
- ./CommonUI/.env
|
||||
- ./Accounts/.env
|
||||
|
||||
depends_on:
|
||||
- identity
|
||||
|
||||
|
||||
dashboard:
|
||||
ports:
|
||||
- '3009:3009'
|
||||
|
||||
image: oneuptime/dashboard:latest
|
||||
|
||||
env_file:
|
||||
- ./Common/.env
|
||||
- ./Common/secret.env
|
||||
- ./CommonUI/.env
|
||||
- ./Accounts/.env
|
||||
|
||||
depends_on:
|
||||
- identity
|
||||
- accounts
|
||||
|
||||
|
||||
|
||||
status-page:
|
||||
ports:
|
||||
- '3105:3105'
|
||||
|
||||
image: oneuptime/status-page:latest
|
||||
|
||||
env_file:
|
||||
- ./Common/.env
|
||||
- ./Common/secret.env
|
||||
- ./CommonUI/.env
|
||||
- ./StatusPage/.env
|
||||
|
||||
depends_on:
|
||||
- accounts
|
||||
- dashboard-api
|
||||
|
||||
|
||||
dashboard-api:
|
||||
ports:
|
||||
- '3002:3002'
|
||||
|
||||
|
||||
image: oneuptime/dashboard-api:latest
|
||||
|
||||
env_file:
|
||||
- ./Common/.env
|
||||
- ./Common/secret.env
|
||||
- ./CommonServer/.env
|
||||
- ./CommonServer/secret.env
|
||||
- ./DashboardAPI/.env
|
||||
|
||||
depends_on:
|
||||
- redis
|
||||
- postgres
|
||||
- mail
|
||||
links:
|
||||
- redis
|
||||
- postgres
|
||||
- mail
|
||||
|
||||
|
||||
|
||||
|
||||
workers:
|
||||
ports:
|
||||
- '3452:3452'
|
||||
|
||||
|
||||
image: oneuptime/workers:latest
|
||||
|
||||
env_file:
|
||||
- ./Common/.env
|
||||
- ./Common/secret.env
|
||||
- ./CommonServer/.env
|
||||
- ./CommonServer/secret.env
|
||||
- ./Workers/.env
|
||||
|
||||
depends_on:
|
||||
- postgres
|
||||
- mail
|
||||
links:
|
||||
- postgres
|
||||
- mail
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
identity:
|
||||
ports:
|
||||
- '3087:3087'
|
||||
|
||||
|
||||
image: oneuptime/identity:latest
|
||||
|
||||
env_file:
|
||||
- ./Common/.env
|
||||
- ./Common/secret.env
|
||||
- ./CommonServer/.env
|
||||
- ./CommonServer/secret.env
|
||||
- ./Identity/.env
|
||||
|
||||
depends_on:
|
||||
- redis
|
||||
- postgres
|
||||
- mail
|
||||
links:
|
||||
- redis
|
||||
- postgres
|
||||
- mail
|
||||
|
||||
|
||||
|
||||
file:
|
||||
ports:
|
||||
- '3125:3125'
|
||||
|
||||
|
||||
image: oneuptime/file:latest
|
||||
|
||||
env_file:
|
||||
- ./Common/.env
|
||||
- ./Common/secret.env
|
||||
- ./CommonServer/.env
|
||||
- ./CommonServer/secret.env
|
||||
- ./File/.env
|
||||
|
||||
depends_on:
|
||||
- postgres
|
||||
links:
|
||||
- postgres
|
||||
|
||||
|
||||
|
||||
home:
|
||||
ports:
|
||||
- '1444:1444'
|
||||
|
||||
env_file:
|
||||
- ./Common/.env
|
||||
- ./Common/secret.env
|
||||
- ./CommonServer/.env
|
||||
- ./CommonServer/secret.env
|
||||
- ./Home/.env
|
||||
|
||||
image: oneuptime/home:latest
|
||||
|
||||
|
||||
|
||||
|
||||
nginx:
|
||||
depends_on:
|
||||
- identity
|
||||
- accounts
|
||||
- dashboard-api
|
||||
- dashboard
|
||||
- home
|
||||
restart: always
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
network: host
|
||||
context: ./Nginx
|
||||
ports:
|
||||
- '80:80'
|
||||
- '443:443'
|
||||
volumes:
|
||||
postgres:
|
||||
@@ -111,11 +111,6 @@ cat config.env.temp | gomplate > config.env
|
||||
|
||||
rm config.env.temp
|
||||
|
||||
echo "Config file has been generated at config.env. Please look at the config, make changes and when you're done - hit enter to continue with the setup."
|
||||
read -r ENTER
|
||||
|
||||
|
||||
|
||||
# Load env values from config.env
|
||||
export $(grep -v '^#' config.env | xargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user