Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

platform-docker

Docker-based development setup for the Netuno Platform. Docker Compose builds the local netuno image and starts it with PostgreSQL.

Prerequisites

⚙️ Initial Setup

  1. Copy Dockerfile, docker-compose.yml, and init-extensions.sql to the root of your Netuno app.
  2. Open the docker-compose.yml file and replace all occurrences of <netuno-app-name> with your application's actual name.
  • In the volume mapping:
volumes:
  - .:/srv/netuno/apps/<netuno-app-name>
  • In the startup command:
command: bash -c "./netuno server app=<netuno-app-name>"

🏃 How to Run

To build and start the services:

docker compose up

# 💡 To run in the background, add the -d flag
docker compose up -d

Useful Commands

  • To show netuno logs
docker compose logs -f netuno
  • Stop containers without removing them
docker compose stop
  • Stop and remove containers
docker compose down

# 💡 To also remove the database, add the -v flag to remove volumes linked to the containers
docker compose down -v

About

Official container images for the Netuno Platform.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages