Official container images for the Netuno Platform.
- Copy the Docker configuration files to the root of your Netuno app.
- Open the
docker-compose.ymlfile and replace all occurrences of<netuno-app-name>with your application's actual name.
- In the volume mapping:
volumes:
- .:/srv/netuno/apps/<my-netuno-app>- In the startup command:
command: bash -c "./netuno server app=<my-netuno-app>"To and start the services:
docker compose up
# 💡 To run in the background, add the -d flag
docker compose up -d- 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