working ssh step

This commit is contained in:
Chris Hall 2022-12-29 12:50:31 -08:00
parent 09c13a21bd
commit b78ec26cc6
3 changed files with 6 additions and 17 deletions

View File

@ -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"

View File

@ -17,7 +17,7 @@ on:
branches: [ "main" ]
jobs:
eslint:
deploy:
name: Deploy Bot
runs-on: ubuntu-latest
permissions:

View File

@ -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: