Add documentation service in docker-compose.prod.yml for hosting project docs
This commit is contained in:
@@ -130,6 +130,18 @@ services:
|
|||||||
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-https://api.memegoat.fr}
|
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-https://api.memegoat.fr}
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
|
-
|
||||||
|
documentation:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: documentation/Dockerfile
|
||||||
|
target: runner
|
||||||
|
container_name: memegoat-docs
|
||||||
|
networks:
|
||||||
|
- nw_caddy
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user