-
-
Save niklv/a950869f99fe0e1ae1be9cd615e1bfc3 to your computer and use it in GitHub Desktop.
| services: | |
| web: | |
| image: 'redmine:passenger' | |
| container_name: 'redmine_web' | |
| restart: always | |
| ports: | |
| - '3000:3000' | |
| links: | |
| - postgres | |
| environment: | |
| POSTGRES_PORT_5432_TCP: 5432 | |
| POSTGRES_ENV_POSTGRES_USER: redmine | |
| POSTGRES_ENV_POSTGRES_PASSWORD: pswd | |
| volumes: | |
| - '/srv/redmine/files/:/usr/src/redmine/files/' | |
| - '/srv/redmine/config/configuration.yml:/usr/src/redmine/config/configuration.yml' | |
| postgres: | |
| image: 'postgres' | |
| container_name: 'redmine_db' | |
| restart: always | |
| environment: | |
| POSTGRES_PASSWORD: pswd | |
| POSTGRES_USER: redmine | |
| volumes: | |
| - '/srv/postgres/:/var/lib/postgresql/data' | |
| ports: | |
| - '5432:5432' |
Switch to postgres.
Hey, can u share link to your Dockerfile? Spent several days trying to make my own container.
Thanks
Can you share your configuration.yml ?
@nikita19 yep)
@thiagorider there are no significant changes in configuration.yml (only add connection settings to my company smtp server)
@niklv thx!
In your redmine_web you are linking to the postgres, but your DB container named redmine_db is this ok?
@shtirlic yes
Hi,
any idea what is wrong:
docker-compose up --build
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services: 'web'
version: '2' - misssing that line was the problem :D
@niklv, can it be used for multi users?. I need to host redmine to use it for my organization.
@replay111 yay!
@tejas1493 I use that config for company with 10+ emploee.
@niklv Hi, did you manage to reverse proxy your redmine server or your users have to access by http://yourserverip:3000/ ?
If you "reversed proxy" redmine, can you share your nginx.conf please ?
I've still some issue on location and sharing css/js... thank you !
@tiryu it was on my previous work. As I remember I just configured simple proxypass.
With mariadb has error, cause redmine/3.2/docker-entrypoint.sh dont specify encoding for mysql.