-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: John Marcou <[email protected]>
- Loading branch information
1 parent
ca22c2a
commit dab29da
Showing
41 changed files
with
969 additions
and
1,302 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 |
---|---|---|
@@ -1,10 +1,5 @@ | ||
# [REQUIRED] - the connection URL for the application database. | ||
DB_USER=granola | ||
DB_PASS=systems | ||
DB_HOST=127.0.0.1 | ||
DB_PORT=5432 | ||
DB_NAME=db | ||
DATABASE_URL=postgresql://granola:[email protected]:5432/db | ||
# The path from which to fetch the proposals manifest. Empty defaults to the MinaFoundation/mina-on-chain-voting GitHub. | ||
PROPOSALS_URL="" | ||
|
||
BUCKET_NAME="673156464838-mina-staking-ledgers" | ||
|
||
|
@@ -43,4 +38,4 @@ NEXT_PUBLIC_API_BASE_URL=http://127.0.0.1:8080 | |
# SKIP_ENV_VALIDATION=1 | ||
|
||
# Sets the log level for the server. Must be on 'debug' for testing. | ||
RUST_LOG=debug | ||
RUST_LOG=debug,error,info |
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 |
---|---|---|
@@ -1,42 +1,22 @@ | ||
services: | ||
web: | ||
container_name: web | ||
profiles: ["all", "web"] | ||
build: | ||
context: ./web | ||
dockerfile: Dockerfile | ||
env_file: .env | ||
environment: | ||
- API_BASE_URL=http://server:8080 | ||
- NEXT_PUBLIC_API_BASE_URL=http://server:8080 | ||
- RELEASE_STAGE=production | ||
ports: | ||
- 3000:3000 | ||
server: | ||
container_name: server | ||
profiles: ["all", "server-db", "server"] | ||
image: ocv-server | ||
build: | ||
context: ./server | ||
dockerfile: Dockerfile | ||
# dockerfile: Dockerfile.dev | ||
env_file: .env | ||
environment: | ||
- DB_HOST=db | ||
- DATABASE_URL=postgresql://granola:systems@db:5432/db | ||
ports: | ||
- 8080:8080 | ||
depends_on: | ||
- db | ||
db: | ||
container_name: postgres | ||
profiles: ["all", "server-db", "db"] | ||
image: postgres:15.2 | ||
ports: | ||
- 5432:5432 | ||
environment: | ||
POSTGRES_USER: granola | ||
POSTGRES_PASSWORD: systems | ||
POSTGRES_DB: db | ||
tmpfs: | ||
- /var/lib/postgresql/data |
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
Oops, something went wrong.