Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/callumio/visual-paradigm-ce-container
Visual Paradigm CE running in a container
https://github.com/callumio/visual-paradigm-ce-container
containers docker docker-image ghcr podman uml-diagram visual-paradigm
Last synced: 8 days ago
JSON representation
Visual Paradigm CE running in a container
- Host: GitHub
- URL: https://github.com/callumio/visual-paradigm-ce-container
- Owner: callumio
- Created: 2023-01-02T17:26:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T21:20:35.000Z (almost 2 years ago)
- Last Synced: 2024-11-26T03:53:41.412Z (2 months ago)
- Topics: containers, docker, docker-image, ghcr, podman, uml-diagram, visual-paradigm
- Language: Dockerfile
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Visual Paradigm CE Containerised
### Notes
Due to how the Visual Paradigm script is designed, after configuring the license on the first run the container may stop and require restarting. This is normal behaviour and should only happen on the first run (fix in progress).
I build and run this using `podman` on Linux, no support will be provided for `docker`, other container engines or other operating systems.
## Usage
### Defaults
Podman
- `podman run -d --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" --volume="/home/$(whoami)/.config/VisualParadigm:/root/.config/VisualParadigm:rw" --rm docker.io/callumio/visual-paradigm-ce`
Docker
- `docker run -d --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" --volume="/home/$(whoami)/.config/VisualParadigm:/root/.config/VisualParadigm:rw" --rm docker.io/callumio/visual-paradigm-ce`
### With Environment Variables
Podman
- `podman run -d -e DISPLAY=:0 -e PUID=1000 -e PGID=1000 --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" --volume="/home/$(whoami)/.config/VisualParadigm:/root/.config/VisualParadigm:rw" --rm docker.io/callumio/visual-paradigm-ce`
Docker
- `docker run -d -e DISPLAY=:0 -e PUID=1000 -e PGID=1000 --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" --volume="/home/$(whoami)/.config/VisualParadigm:/root/.config/VisualParadigm:rw" --rm docker.io/callumio/visual-paradigm-ce`
## Configuration
### Environment Variables
| Variable | Description | Default |
|---------------------------------|----------------------------------------------------------------|---------------------------------|
| `PUID` | User Identifier (Volume Permissions) | `1000` |
| `PGID` | Group Identifier (Volume Permissions) | `1000` |
| `DISPLAY` | X Display ID | `:0` |
| `_JAVA_AWT_WM_NONREPARENTING` | For (X)Wayland compatibility until OpenJDK Wakefield is usable | `1` |### Volumes
| Destination | Description |
|----------------------------------------------|---------------------------------------------------|
| `/tmp/.X11-unix:/tmp/.X11-unix` | X Socket Forwarding |
| `/root/.config/VisualParadigm` | Visual Paradigm Config Folder |
| `/root/.config/VisualParadigm/ws/VPProjects` | Visual Paradigm Projects Folder (Optional) |## Building
### Buildah
`buildah bud -t visual-paradigm-ce`
### Docker Build
`docker build -t visual-paradigm-ce`