diff --git a/README.md b/README.md index 18267e4..ded45f1 100644 --- a/README.md +++ b/README.md @@ -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`

Troubleshooting

diff --git a/docker-compose.yml b/docker-compose.yml index fd26c5f..edf2361 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: