mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-09-16 18:02:19 +02:00
working ssh step
This commit is contained in:
parent
09c13a21bd
commit
b78ec26cc6
14
.env.example
14
.env.example
@ -1,14 +0,0 @@
|
||||
# Tokens
|
||||
DISCORD_TOKEN= # Bot token from: https://discord.com/developers/
|
||||
|
||||
# Configuration
|
||||
DEFAULT_PREFIX= # Prefix used to run commands in Discord
|
||||
DEVELOPMENT= # (true/false) Enables developer mode
|
||||
|
||||
# Docker
|
||||
POSTGRES_USER=USERNAME
|
||||
POSTGRES_PASSWORD=PASSWORD
|
||||
POSTGRES_DB=DB
|
||||
|
||||
# Database URL (designed for Postgres, but designed on Prisma)
|
||||
DATABASE_URL= # "postgresql://USERNAME:PASSWORD@postgres:5432/DB?schema=ara&sslmode=prefer"
|
@ -17,7 +17,7 @@ on:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
deploy:
|
||||
name: Deploy Bot
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
@ -2,6 +2,7 @@ version: "3.7"
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:14
|
||||
profiles: ["standalone"]
|
||||
container_name: postgres
|
||||
restart: always
|
||||
env_file:
|
||||
@ -11,10 +12,11 @@ services:
|
||||
|
||||
redis:
|
||||
image: redis:7
|
||||
profiles: ["standalone", "prod"]
|
||||
container_name: redis
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
- .env.prod
|
||||
volumes:
|
||||
- redis:/data
|
||||
|
||||
@ -22,11 +24,12 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
profiles: ["standalone", "prod"]
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
env_file:
|
||||
- .env
|
||||
- .env.prod
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
|
Loading…
x
Reference in New Issue
Block a user