9 Commits

Author SHA1 Message Date
Henne Vogelsang
93662dc489 Adapt Dockerfile.productiono to openSUSE Leap 15.6
- No need to manually install bundler anymore
- bundle to vendor/bundle
- build nokogiri against system libraries
- expose the port foreman is using
- serve static files
2025-09-04 18:09:50 +02:00
Henne Vogelsang
bda376142e Drop version setting from docker-compose conf 2024-11-22 13:54:38 +01:00
Henne Vogelsang
d70687c9b9 Get rid of bin/osem-init.sh
Setting up the app if it isn't already setup should be some
concious step and not run every time we boot the containers.

This also fixes the problem that processes are not killed
if you stop the container with CTRL+C because the bash script
is not passing on signals.
2021-10-21 16:14:47 +02:00
Andrew Kvalheim
b6208d4d4b Update Docker Compose file format: 2.0 → 2.4 (minor)
Allows the use of additional parameters such as `cpus` and
`healthcheck`.
2021-03-06 20:04:51 +01:00
Henne Vogelsang
2e706347a7 Pin the postgres container version 2021-03-06 02:39:19 +01:00
Andrew Kvalheim
b7187323a7 Serve precompiled assets in example Docker Compose configuration
Continues 959d5af.
2020-05-30 09:36:26 -07:00
Henne Vogelsang
2a7acf7369 Fixup INSTALL.md
- add a big fat warning
- Do not mentioned the deprecated docker setup anymore
- Fixup docker-compose production setup
2019-02-01 01:00:19 +01:00
Henne Vogelsang
042d49619c Docker cleanups
- Put docker-compose.yml into version control, no need to make this an example
  file and complicate things.
- Start the docker dev-env osem on port 3000. Just as our documentation says
  and how we do it in vagrant.
- hardcode CONTAINER_USERID so you don't have to have an
  docker-compose.override.yml if your UID is 1000.
- Rename web service/container to osem for clarity in the logs
- Keep assets also in a volume in production
- warn a bit more prominently about docker-compose.override.yml
2018-09-14 23:28:26 +02:00
Henne Vogelsang
8fd3004d7f Introduces openSUSE based docker-compose environment 2018-09-11 00:10:42 +02:00