chore: Use built package instead of building from source.
Source 2 when
This commit is contained in:
parent
53983fc590
commit
67bd87a0e5
2 changed files with 3 additions and 8 deletions
|
@ -33,10 +33,8 @@
|
|||
```bash
|
||||
sed "s/POSTGRES_PASSWORD=nextnet/POSTGRES_PASSWORD=$(head -c 500 /dev/random | sha512sum | cut -d " " -f 1)/g" prod-docker.env > .env
|
||||
```
|
||||
|
||||
2. Build the dockerfile: `docker compose build`
|
||||
|
||||
3. Build the docker stack: `docker compose --env-file .env up -d`
|
||||
2. Build the docker stack: `docker compose --env-file .env up -d`
|
||||
|
||||
<h2 align="center">Troubleshooting</h2>
|
||||
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
services:
|
||||
nextnet-api:
|
||||
build:
|
||||
context: "./api"
|
||||
dockerfile: Dockerfile
|
||||
image: nextnet-api/latest
|
||||
image: ghcr.io/greysoh/api:latest
|
||||
container_name: nextnet-api
|
||||
restart: always
|
||||
ports:
|
||||
|
@ -13,7 +10,7 @@ services:
|
|||
DATABASE_URL: "postgresql://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@nextnet-postgres:5432/${POSTGRES_DB}?schema=nextnet"
|
||||
|
||||
postgres:
|
||||
image: "postgres:15.4"
|
||||
image: postgres:15.4
|
||||
container_name: nextnet-postgres
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue