postgresql:
  image: {{ postgres_image }}
  labels:
    - "com.juju.type=application"
  environment:
    - DB_USER=redmine
    - DB_PASS=password
    - DB_NAME=redmine_production
  volumes:
    - /srv/docker/redmine/postgresql:/var/lib/postgresql
redmine:
  image: {{redmine_image}}
  labels:
    - "com.juju.type=application"
  links:
    - postgresql:postgresql
  environment:
    - TZ=Asia/Kolkata
    - REDMINE_PORT=10083
    - SMTP_ENABLED=false
    - SMTP_DOMAIN=www.example.com
    - SMTP_HOST=smtp.gmail.com
    - SMTP_PORT=587
    - SMTP_USER=mailer@example.com
    - SMTP_PASS=password
    - SMTP_STARTTLS=true
    - SMTP_AUTHENTICATION=:login
    - IMAP_ENABLED=false
    - IMAP_USER=mailer@example.com
    - IMAP_PASS=password
    - IMAP_HOST=imap.gmail.com
    - IMAP_PORT=993
    - IMAP_SSL=true
    - IMAP_INTERVAL=30
  ports:
    - "{{port}}:80"
  volumes:
    - /srv/docker/redmine/redmine:/home/redmine/data

postgresql:
  image: {{ postgres_image }}
  labels:
    - "com.juju.type=application"
  environment:
    - DB_USER=redmine
    - DB_PASS=password
    - DB_NAME=redmine_production
  volumes:
    - /srv/docker/redmine/postgresql:/var/lib/postgresql
redmine:
  image: {{redmine_image}}
  labels:
    - "com.juju.type=application"
  links:
    - postgresql:postgresql
  environment:
    - TZ=Asia/Kolkata
    - REDMINE_PORT=10083
    - SMTP_ENABLED=false
    - SMTP_DOMAIN=www.example.com
    - SMTP_HOST=smtp.gmail.com
    - SMTP_PORT=587
    - SMTP_USER=mailer@example.com
    - SMTP_PASS=password
    - SMTP_STARTTLS=true
    - SMTP_AUTHENTICATION=:login
    - IMAP_ENABLED=false
    - IMAP_USER=mailer@example.com
    - IMAP_PASS=password
    - IMAP_HOST=imap.gmail.com
    - IMAP_PORT=993
    - IMAP_SSL=true
    - IMAP_INTERVAL=30
  ports:
    - "{{port}}:3000"
  volumes:
    - /srv/docker/redmine/redmine:/home/redmine/data

Update the port mapping to reflect the new image port location
Update the port mapping to reflect the new image port location
