Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
940781cb83 | ||
|
|
3a7bf68ba9 | ||
|
|
243fa19e36 | ||
|
|
fcbf803ae2 | ||
|
|
14390c5c21 |
@ -28,7 +28,7 @@ func main() {
|
||||
}
|
||||
|
||||
database.ConnectDatabase(os.Getenv("DATABASE_URL"))
|
||||
database.RunMigrations()
|
||||
//database.RunMigrations()
|
||||
services.InitializeServices()
|
||||
|
||||
owners := []string{
|
||||
|
||||
@ -21,6 +21,33 @@ spec:
|
||||
app: geeksbot
|
||||
spec:
|
||||
containers:
|
||||
- name: pgbouncer
|
||||
image: timoha/pgbouncer:1.15.0
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "0.5"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "1"
|
||||
env:
|
||||
- name: DATABASE_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: geeksbot
|
||||
key: pgbouncer_url
|
||||
- name: SERVER_TLS_SSLMODE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: geeksbot
|
||||
key: pgbouncer_ssl
|
||||
- name: AUTH_TYPE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: geeksbot
|
||||
key: pgbouncer_auth
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
- name: geeksbot
|
||||
image: <IMAGE>
|
||||
resources:
|
||||
@ -42,4 +69,4 @@ spec:
|
||||
name: geeksbot
|
||||
key: discord_token
|
||||
imagePullSecrets:
|
||||
- name: registry-2
|
||||
- name: registry-1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user