7 Commits

Author SHA1 Message Date
Henne Vogelsang
bda376142e Drop version setting from docker-compose conf 2024-11-22 13:54:38 +01:00
Henne Vogelsang
b2f0796799 Drop mysql2 support, settle on postgresql
It's enough work to support one database, let's settle on
the defacto Rails default.
2024-06-06 18:05:52 +02: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
Henne Vogelsang
9b97ecdb58 Fix service name in compose override
Services names should match between the config and the override file...
2019-01-29 21:47:48 +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